Gi-z / CSIKit

Python CSI processing and visualisation tools for Atheros, Intel, Nexmon, ESP32, FeitCSI, and PicoScenes (USRP, etc) formats.
https://Gi-z.github.io/CSIKit/
MIT License
207 stars 52 forks source link

Deprecated np.complex type and incompatible PicoScenes subsegment version type #51

Closed Candyzorua closed 8 months ago

Candyzorua commented 8 months ago

In CSIKit\reader\readers\pico\CSISegment.py there is usage of deprecated np.complex type in parseIWL5300CSIData function, causing CSIKit to crash when parsing IWL5300 CSI data.

Candyzorua commented 8 months ago

PR

Candyzorua commented 8 months ago

Also found another bug where PicoScenes RxSBasic subsegment version only has parsers up to version 3 but latest version is 4. This causes the subsegment to be improperly initialized.

Patched this bug (in the aforementioned PR) so subsegments use a common parser function which defaults to latest available version when the given version is unavailable.