improve packaging

This commit is contained in:
Christos Falas 2025-05-16 10:53:33 +01:00
parent 90966bd533
commit 2e01ad4384
No known key found for this signature in database
2 changed files with 49 additions and 19 deletions

View File

@ -1,29 +1,58 @@
receive_hosts:
- ["10.0.12.62", 8008]
- ["10.0.12.64", 8008]
transmit_host: ["10.0.12.63", 8008]
- ["10.0.12.90", 8008]
- ["10.0.12.91", 8008]
transmit_host: ["10.0.12.64", 8008]
check_hosts: True
antennas:
order: [
[["10.0.12.62", 8008], 0],
[["10.0.12.64", 8008], 1],
[["10.0.12.64", 8008], 0],
[["10.0.12.62", 8008], 1]]
order:
- [['10.0.12.91', 8008], 0]
- [['10.0.12.91', 8008], 1]
- [['10.0.12.90', 8008], 0]
- [['10.0.12.90', 8008], 1]
# The spacing between antennas in the linear antenna array in meters
spacing: 0.0285
sample_rate: 100 # Hz
collection_sample_rate: 20 # Hz
processing_sample_rate: 2 # Hz
central_freq: 6195 # MHz
channel_width: 20 # MHz
frame_format: HT
# The central Wi-Fi channel to be used for data collection
# Should match one of the channels in the standard
# https://en.wikipedia.org/wiki/List_of_WLAN_channels
central_freq: 2442 # MHz
# The channel width in MHz. The options are 20, 40, 80, and 160 MHz
channel_width: 20
# frame_format: Can be HT, VHT, HE for the frame format used by
# 802.11n, 802.11ac, 802.11ax respectively
frame_format: VHT
preprocessing:
moving_average_alpha: 0.01
subcarrier_step: 1 # Skip every xth subcarrier to improve performance
bandpass:
lowcut: 2
highcut: 40
# The steps to be applied to the samples before denoising, in this order
steps:
- fill_pilots
- skip_subcarriers
- remove_agc
- remove_sfo
# Type of denoising to apply after preprocessing, when accessing
# the sample for the main application processing
denoising: median
# The duration of the window to use for the denoising step (in seconds)
denoising_window: 1
music:
eigval_threshold: 10
window_size: 40
# The threshold to use to split the noise and signal subspaces
eigval_threshold: 100
# The resolution of the heatmap generated
heatmap:
theta_resolution: 100
tof_resolution: 100
tof_max: 2e-8

View File

@ -24,7 +24,7 @@ build-backend = "setuptools.build_meta"
[project.scripts]
where-fi = "where_fi.cli:app"
where-fi = "where_fi.cli:cli"
[tool.ruff]
@ -48,6 +48,7 @@ package = true
[tool.setuptools]
packages = ["where_fi"]
include-package-data = true
[dependency-groups]
dev = [