Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about fetch the csi data #4

Open
JODE-HRK opened this issue Nov 8, 2023 · 1 comment
Open

Question about fetch the csi data #4

JODE-HRK opened this issue Nov 8, 2023 · 1 comment

Comments

@JODE-HRK
Copy link

JODE-HRK commented Nov 8, 2023

Hi, I am one of the Nexcsi users. Could you please tell me how to fetch the csi data both amplitude and phase? I used the sample['csi'], but the data seems not correct.

[[1723072434 401873898 242484245 ... 2910075890 3400742208 4076026537]
[3568631730 2268411463 3094681578 ... 3241483342 1467286311 2004171538]
[ 305397682 641021308 2520063702 ... 3199533567 2461347890 2415211724]
...
[1978859440 661994429 1827999801 ... 1840593450 393558204 2121609809]
[1475674032 875889871 3660849753 ... 2473924276 2247431422 3627352327]
[2566127538 343222133 2067010132 ... 502608282 3568579900 850738005]]

@zeroby0
Copy link
Contributor

zeroby0 commented Nov 8, 2023

You should use the unpack function to change it to complex numbers. Once there you can use numpy amplitude or phase.

csi = decoder(device).unpack(samples['csi'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants