Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ESPARGOS/pyespargos
/ functions
Functions
691 in github.com/ESPARGOS/pyespargos
⨍
Functions
691
◇
Types & classes
66
↳
Endpoints
1
↓ 145 callers
Method
get
(self, *path_parts)
demos/common/config_manager.py:250
↓ 33 callers
Method
connect
(self)
espargos/uart.py:206
↓ 32 callers
Method
get_shape
Get the outer shape of the stored data, i.e., only the antenna dimensions and not subcarrier dimensions or similar.
espargos/pool.py:702
↓ 28 callers
Method
get_calibration
Get the stored calibration values. :return: The stored calibration values as a :class:`.calibration.CSICalibration` object
espargos/pool.py:694
↓ 25 callers
Function
_clamp_s32
(value: int)
espargos/csi.py:714
↓ 22 callers
Method
get
Retrieve data from the ringbuffer :param key: Key of the data to retrieve (e.g., "lltf", "ht40", "rssi", etc.) :return: Data
espargos/backlog.py:322
↓ 21 callers
Method
set
Update configuration from application.
demos/common/config_manager.py:133
↓ 18 callers
Method
get_completion
Get the completion state of the CSI data. :return: A boolean numpy array of shape :code:`(boardcount, constants.ROWS_PER_BOARD, cons
espargos/cluster.py:495
↓ 17 callers
Method
initialize_qml
(self, qml_file, context_props: dict | None = None)
demos/common/espargos_application.py:264
↓ 17 callers
Method
start
Start the streaming of CSI data for all boards in the pool.
espargos/pool.py:359
↓ 16 callers
Function
_fix32_mpy
(a: int, b: int, precise_rounding: bool = False)
espargos/csi.py:727
↓ 15 callers
Method
clear
Clear all stored CSI datapoints from the ringbuffer. This is useful after changing calibration or other receiver settings: e
espargos/backlog.py:358
↓ 15 callers
Function
deep_update
Recursively update a dictionary with another dictionary. Similar to dict.update(), but merges nested dictionaries instead of replacing them.
demos/common/config_manager.py:29
↓ 14 callers
Method
_fetch
(self, path, data=None)
espargos/board.py:916
↓ 13 callers
Method
exec
(self)
demos/camera/camera.py:155
↓ 13 callers
Method
get_name
Returns the hostname of the ESPARGOS controller as configured in the web interface. :return: The hostname of the ESPARGOS controller
espargos/board.py:255
↓ 13 callers
Method
initialize_pool
(self, **kwargs)
demos/speedtest/speedtest.py:114
↓ 12 callers
Method
add_csi_callback
Register callback function that is invoked whenever a new CSI cluster is completed. :param cb: The function to call, gets instance o
espargos/pool.py:380
↓ 12 callers
Method
get_backlog_csi
Retrieve latest CSI datapoints from backlog for the selected preamble format. Returns None if backlog does not exist (yet), is empty
demos/common/espargos_application.py:577
↓ 12 callers
Method
get_initial_config
Retrieve initial configuration value for given path. Examples: * self.get_initial_config("pool", "hosts", default=[])
demos/common/espargos_application.py:235
↓ 10 callers
Method
_foreach_complete_sensor
(self, cb)
espargos/cluster.py:633
↓ 10 callers
Method
get_sensor_timestamps
Get the (nanosecond-precision) timestamps at which the WiFi packet was sampled by the sensors. This timestamp does not include the of
espargos/cluster.py:522
↓ 10 callers
Method
run
Process incoming CSI data packets and call registered callbacks if CSI clusters are complete. Repeatedly call this function from your
espargos/pool.py:714
↓ 9 callers
Function
_active_slice
(fft_size: int, active_count: int)
espargos/csi.py:709
↓ 9 callers
Method
set_radar_config
Set radar TX configuration on the boards in this pool. ``config`` may either be a single controller config dict applied to every boa
espargos/pool.py:306
↓ 8 callers
Method
_post_json_ok
POST JSON payload to `/<path>` and require literal response 'ok'.
espargos/board.py:940
↓ 7 callers
Method
_assert_same_across_boards
Ensure all entries in `values` are identical (after canonical JSON encoding for dict/list).
espargos/pool.py:105
↓ 7 callers
Function
_centered_fft
(values: np.ndarray, fft_size: int)
espargos/csi.py:705
↓ 7 callers
Method
_first_complete_sensor
(self)
espargos/cluster.py:640
↓ 7 callers
Method
_get_json
GET `/<path>` and parse response as JSON.
espargos/board.py:949
↓ 7 callers
Method
configManager
(self)
demos/common/pool_drawer.py:83
↓ 6 callers
Method
_send_frame
(self, frame_type: int, request_id: int, payload: bytes)
espargos/uart.py:400
↓ 6 callers
Method
close
Close transport resources associated with this board. For UART-backed boards, this releases the serial port lock. Calling this on
espargos/board.py:474
↓ 6 callers
Method
deserialize_csi_lltf
Deserialize the L-LTF part of the CSI data. :return: The L-LTF part of the CSI data as a complex-valued numpy array of shape :code:`
espargos/cluster.py:161
↓ 6 callers
Method
get_fields
Get the list of fields currently stored in the backlog. :return: List of fields currently stored in the backlog
espargos/backlog.py:500
↓ 6 callers
Method
get_secondary_channel_relative
Get the relative position of the secondary channel with respect to the primary channel. :return: 0 if no secondary channel is used,
espargos/cluster.py:451
↓ 6 callers
Method
get_wificonf
Return WiFi config; sanity-check boards report the same value. Consistency check ignores "calib-source" and "calib-mode" (they may l
espargos/pool.py:323
↓ 6 callers
Method
sensor_values_to_antid_list
Convert a board-local (row, column) array to firmware antenna-id order.
espargos/revisions.py:38
↓ 5 callers
Method
calibrate
Run calibration for a specified duration. :param per_board: True to calibrate each board separately, False to calibrate all boards t
espargos/pool.py:545
↓ 5 callers
Method
get_age
Get the age of the CSI data, in seconds. The age is only approximate, it is based on the timestamp when the :class:`.CSICluster` obj
espargos/cluster.py:511
↓ 5 callers
Method
has_lltf
Check if L-LTF channel estimates are available for all complete sensors. :return: True if there is L-LTF CSI data for all complete s
espargos/cluster.py:346
↓ 5 callers
Method
has_radar_tx_report
Check whether this cluster has transmit-side radar metadata attached.
espargos/cluster.py:143
↓ 5 callers
Method
remove_csi_callback
Remove a CSI callback previously returned by :meth:`add_csi_callback`. :param callback: Callback handle returned by :meth:`add_csi_c
espargos/pool.py:402
↓ 5 callers
Method
stop
Stop the streaming of CSI data for all boards in the pool.
espargos/pool.py:366
↓ 4 callers
Method
_configured_preamble_format
(self, default: str = "lltf")
demos/common/espargos_application.py:555
↓ 4 callers
Function
_decode_compressed_tap_window
( buf, fft_size: int, tap_start: int, tap_count: int, active_count: int, correction: n
espargos/csi.py:1205
↓ 4 callers
Method
_disable_udp_stream
Tell the server to stop the UDP stream (best-effort).
espargos/board.py:443
↓ 4 callers
Function
_first_gain_value
(value)
demos/common/pool_drawer.py:15
↓ 4 callers
Method
_read
(self, key)
espargos/backlog.py:317
↓ 4 callers
Function
_reverse_bits16
(x: int, order: int)
espargos/csi.py:718
↓ 4 callers
Method
_update_fit_parameters
(self)
demos/stochastic-fading/stochastic-fading.py:222
↓ 4 callers
Method
antid_to_row_col
Convert firmware antenna id to (row, column) on this board revision.
espargos/revisions.py:34
↓ 4 callers
Method
apply_lltf
Apply phase calibration to the provided L-LTF CSI data. Also accounts for subcarrier-specific phase offsets, e.g., due to low-pass fi
espargos/calibration.py:188
↓ 4 callers
Method
deserialize_csi_ht20ltf
Deserialize the HT20 (HT-LTF without channel bonding) part of the CSI data. :return: The HT-LTF part of the CSI data as a complex-va
espargos/cluster.py:222
↓ 4 callers
Method
deserialize_csi_ht40ltf
Deserialize the HT40 (HT-LTF with channel bonding) part of the CSI data. :return: The HT-LTF part of the CSI data as a complex-value
espargos/cluster.py:266
↓ 4 callers
Method
emitShowError
(self, title: str, message: str)
demos/common/config_manager.py:130
↓ 4 callers
Function
get_center_frequency
Returns the RF center frequency for the provided Wi-Fi channel configuration. If only ``primary_channel`` is given, this returns the center
espargos/util.py:265
↓ 4 callers
Method
get_hardware_tx_timestamp_ns
Decode the raw ESP32-C61 TX timestamp registers into sensor-local nanoseconds. The wire format intentionally keeps the raw register
espargos/csi.py:653
↓ 4 callers
Method
get_radar_tx_info
Return the transmit-side radar report for this packet, or None if not available.
espargos/cluster.py:149
↓ 4 callers
Method
get_source_mac
Get the source MAC address of the WiFi packet. :return: The source MAC address of the WiFi packet
espargos/cluster.py:594
↓ 4 callers
Method
has_ht20ltf
Check if HT20 (HT-LTF without channel bonding) channel estimates are available for all complete sensors. :return: True if there is H
espargos/cluster.py:369
↓ 4 callers
Method
has_ht40ltf
Check if HT40 (HT-LTF with 40MHz channel bonding) channel estimates are available for all complete sensors. :return: True if there i
espargos/cluster.py:393
↓ 4 callers
Method
initialize_pool
Initialize ESPARGOS Pool. Also triggers creation of pool drawer backend.
demos/common/espargos_application.py:303
↓ 4 callers
Method
is_radar
Check whether this cluster corresponds to a radar packet.
espargos/cluster.py:602
↓ 4 callers
Method
nonempty
Check if the backlog is nonempty :return: True if the backlog is nonempty
espargos/backlog.py:412
↓ 3 callers
Method
_apply_modem_idle_state
(self, ser: serial.Serial)
espargos/uart.py:472
↓ 3 callers
Function
_broadcast_to_pool_shape
(values, name: str, boards, dtype=None)
espargos/radar.py:158
↓ 3 callers
Method
_csistream_handle_message
(self, message)
espargos/board.py:829
↓ 3 callers
Method
_device_to_string
(self, device: QCameraDevice)
demos/camera/videocamera.py:43
↓ 3 callers
Method
_emit_sample_state_changed
(self)
demos/stochastic-fading/stochastic-fading.py:174
↓ 3 callers
Method
_format_to_string
(self, fmt: QCameraFormat)
demos/camera/videocamera.py:46
↓ 3 callers
Method
_get_schedule_ms
(self, name: str)
demos/radar-csi/radar-csi.py:154
↓ 3 callers
Method
_initialize_storage
Initialize or reinitialize storage arrays. If storage already exists, old data will be preserved where applicable. :param si
espargos/backlog.py:118
↓ 3 callers
Method
_interpolate_axis_range
(self, previous, new)
demos/instantaneous-csi/instantaneous-csi.py:131
↓ 3 callers
Method
_normalize_mac
(mac: str)
demos/radar-schedule-check/radar-schedule-check.py:134
↓ 3 callers
Method
_read_config_from_pool
Read device-backed configuration from Pool and map to UI fields. Returns a partial config dict (does not include purely-UI fields).
demos/common/pool_drawer.py:86
↓ 3 callers
Function
_sensor_centered_spectrum_to_direct_observed_taps_fix32
( centered_spectrum: np.ndarray, fft_size: int, shift: int, tap_start: int, precise_roundi
espargos/csi.py:746
↓ 3 callers
Method
_uses_backlog
Check if this class uses the BacklogMixin.
demos/common/espargos_application.py:210
↓ 3 callers
Method
disable_csi_stream
(self)
espargos/uart.py:334
↓ 3 callers
Method
esp_num_to_row_col
Convert ESP number to (row, column) on the board
espargos/revisions.py:30
↓ 3 callers
Method
get_fft_gain
Get the signed FFT gain values reported for the WiFi packet.
espargos/cluster.py:558
↓ 3 callers
Method
get_multiple
Retrieve multiple data fields from the ringbuffer. You must use get_multiple to ensure consistency of data across multiple keys.
espargos/backlog.py:338
↓ 3 callers
Method
get_radar_tx_index
Return the flattened TX sensor index derived from the CSI stream UID, or -1 if unknown.
espargos/cluster.py:155
↓ 3 callers
Method
get_rx_gain
Get the signed RX gain values reported for the WiFi packet.
espargos/cluster.py:552
↓ 3 callers
Method
has_he20ltf
Check if HE20 HE-LTF channel estimates are available for all complete sensors.
espargos/cluster.py:422
↓ 3 callers
Method
request
(self, method: str, path: str, body: bytes | str | None = None, timeout: float | None = None)
espargos/uart.py:306
↓ 3 callers
Method
set_gain_settings
Set gain settings on all boards in this pool. This is forwarded to :meth:`pyespargos.board.Board.set_gain_settings` for each board.
espargos/pool.py:245
↓ 3 callers
Method
set_mac_filter
Set the MAC address filter for all boards in the pool. Will only accept packets from the specified MAC address. This is forwarded to
espargos/pool.py:171
↓ 3 callers
Method
set_rfswitch
Set RF switch state for all boards in the pool. :param state: The RF switch state to set, must be one of :class:`csi.rfswitch_state_
espargos/pool.py:149
↓ 3 callers
Method
start
Starts the CSI stream thread for the ESPARGOS controller. The thread will run indefinitely until the stop() method is called. Suppor
espargos/board.py:263
↓ 2 callers
Method
_add_argparse_arguments
(self, parser)
demos/common/espargos_application.py:415
↓ 2 callers
Method
_allocate_request_id
(self)
espargos/uart.py:394
↓ 2 callers
Method
_clusters_to_calibration
Convert collected calibration clusters to phase calibration values. :param board_num: If provided, only process calibration clusters
espargos/pool.py:436
↓ 2 callers
Method
_default_config_template
(self)
demos/common/espargos_application.py:67
↓ 2 callers
Method
_effective_min_antennas
(self)
demos/cfo-viewer/cfo-viewer.py:103
↓ 2 callers
Method
_ensure_run_worker
(self)
demos/radar-schedule-check/radar-schedule-check.py:81
↓ 2 callers
Function
_extract_signed15
(x: int)
espargos/csi.py:1298
↓ 2 callers
Function
_fftshift_1d
(values: np.ndarray)
espargos/csi.py:700
↓ 2 callers
Method
_finalize_pool_init
Hook for mixins to finalize pool initialization. Override in mixins and call super()._finalize_pool_init(backlog_cb_predicate, calibr
demos/common/espargos_application.py:357
↓ 2 callers
Method
_find_device
Find a QCameraDevice by its string representation. Returns the first matching QCameraDevice. A match is found if device_str i
demos/camera/videocamera.py:49
next →
1–100 of 691, ranked by callers