Skip to content

Instantly share code, notes, and snippets.

@Gi-z
Created January 2, 2023 14:32
Show Gist options
  • Save Gi-z/16997711e91d8a58be75f74e0a8c55b5 to your computer and use it in GitHub Desktop.
Save Gi-z/16997711e91d8a58be75f74e0a8c55b5 to your computer and use it in GitHub Desktop.
C:\Users\Giz>csikit
'csikit' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Giz>pip install --upgrade git+https://github.com/Gi-z/CSIKit.git
Collecting git+https://github.com/Gi-z/CSIKit.git
Cloning https://github.com/Gi-z/CSIKit.git to c:\users\giz\appdata\local\temp\pip-req-build-fvzdn4au
Running command git clone --filter=blob:none --quiet https://github.com/Gi-z/CSIKit.git 'C:\Users\Giz\AppData\Local\Temp\pip-req-build-fvzdn4au'
Resolved https://github.com/Gi-z/CSIKit.git to commit 16df52ba5472645a8b4b6ad72ac9d30cbe6ba4f0
Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib in c:\python\python310\lib\site-packages (from CSIKit==2.4) (3.6.0)
Collecting scikit-learn
Downloading scikit_learn-1.2.0-cp310-cp310-win_amd64.whl (8.2 MB)
---------------------------------------- 8.2/8.2 MB 3.7 MB/s eta 0:00:00
Collecting pandas
Downloading pandas-1.5.2-cp310-cp310-win_amd64.whl (10.4 MB)
---------------------------------------- 10.4/10.4 MB 3.7 MB/s eta 0:00:00
Collecting PyWavelets
Downloading PyWavelets-1.4.1-cp310-cp310-win_amd64.whl (4.2 MB)
---------------------------------------- 4.2/4.2 MB 3.7 MB/s eta 0:00:00
Requirement already satisfied: numpy in c:\python\python310\lib\site-packages (from CSIKit==2.4) (1.23.3)
Requirement already satisfied: fonttools>=4.22.0 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (4.37.3)
Requirement already satisfied: pyparsing>=2.2.1 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (2.8.2)
Requirement already satisfied: contourpy>=1.0.1 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (1.0.5)
Requirement already satisfied: cycler>=0.10 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (0.11.0)
Requirement already satisfied: pillow>=6.2.0 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (9.2.0)
Requirement already satisfied: packaging>=20.0 in c:\python\python310\lib\site-packages (from matplotlib->CSIKit==2.4) (21.3)
Requirement already satisfied: pytz>=2020.1 in c:\python\python310\lib\site-packages (from pandas->CSIKit==2.4) (2022.6)
Collecting scipy>=1.3.2
Downloading scipy-1.9.3-cp310-cp310-win_amd64.whl (40.1 MB)
---------------------------------------- 40.1/40.1 MB 3.6 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting joblib>=1.1.1
Downloading joblib-1.2.0-py3-none-any.whl (297 kB)
---------------------------------------- 298.0/298.0 kB 3.7 MB/s eta 0:00:00
Requirement already satisfied: six>=1.5 in c:\python\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib->CSIKit==2.4) (1.16.0)
Using legacy 'setup.py install' for CSIKit, since package 'wheel' is not installed.
Installing collected packages: threadpoolctl, scipy, PyWavelets, joblib, scikit-learn, pandas, CSIKit
Running setup.py install for CSIKit ... done
Successfully installed CSIKit-2.4 PyWavelets-1.4.1 joblib-1.2.0 pandas-1.5.2 scikit-learn-1.2.0 scipy-1.9.3 threadpoolctl-3.1.0
[notice] A new release of pip available: 22.2.1 -> 22.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
C:\Users\Giz>
C:\Users\Giz>
C:\Users\Giz>csikit F:\Datasets\ChrisExperiments\experiment2_movementdata_homogeneous\cm4\cm4_calibration_1630490484.pcap
Hardware: Broadcom BCM43455c0
Backend: Nexmon CSI
Bandwidth: 20MHz
Antenna Configuration: 1 Rx, 1 Tx
Frame Count: 3103
Subcarrier Count: 64
Length: 0.00s
Average Sample Rate: 0.00Hz
Average RSSI: -56.0dBm
CSI Shape: (3103, 64, 1)
C:\Users\Giz>csikit F:\Datasets\ChrisExperiments\experiment2_movementdata_homogeneous\cm4\cm4_calibration_1630490653.pcap
Hardware: Broadcom BCM43455c0
Backend: Nexmon CSI
Bandwidth: 20MHz
Antenna Configuration: 1 Rx, 1 Tx
Frame Count: 618
Subcarrier Count: 64
Length: 32.15s
Average Sample Rate: 19.20Hz
Average RSSI: -56.0dBm
CSI Shape: (618, 64, 1, 1)
C:\Users\Giz>csikit C:\Users\Giz\Downloads\outputgala2212.pcap
Hardware: Broadcom BCM43455c0
Backend: Nexmon CSI
Bandwidth: 80MHz
Antenna Configuration: 1 Rx, 1 Tx
Frame Count: 1000
Subcarrier Count: 256
Length: 386.06s
Average Sample Rate: 2.60Hz
Average RSSI: -82.6dBm
CSI Shape: (1000, 256, 1, 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment