Open JODE-HRK opened 11 months ago
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]]
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'])
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]]