A Python Package to Parse ESP32 Wi-Fi CSI Data
Project description
ESP32 Wi-Fi CSI Python Parser
This is a Python parser for ESP32 Wi-Fi Channel State Information (CSI) based on the ESP32 CSI specification.
This project uses ESP CSI Toolkit created by Hernandez and Bulut.
Installation
Run the following to install:
pip install csiparser
Usage
# Import ESP32 CSI parser
import csiparser
# Parse and filter CSI data
example_csi = (
csiparser.ESP32("./esp32_dataset/example_csi.csv")
.filter_by_sig_mode(1)
.get_csi()
.remove_null_subcarriers()
.get_amplitude_from_csi()
.get_phase_from_csi()
)
# Retrieve example amplitude
example_amplitude = example_csi.amplitude
# Retrieve example phase
example_phase = example_csi.phase
Further the amplitude and phase information can be plotted to visualize the distortion in amplitude and phase shift as follows:
See Examples directory for full example.
License
Distributed under the MIT License. See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csiparser-0.1.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for csiparser-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f7dc1a890508529f80bf2f9d075c2b7e2cd1b6d31e6dea505ffcfb9f15e59b1 |
|
MD5 | 16b64594d3d8d0a54158d76adc5bce67 |
|
BLAKE2b-256 | 49dd378046db206a0cf412de77e6d7652b4c2f8f8c95caa2964bbd00c46fb669 |