MCPcopy Create free account

hub / github.com/ESPARGOS/pyespargos / functions

Functions691 in github.com/ESPARGOS/pyespargos

↓ 145 callersMethodget
(self, *path_parts)
demos/common/config_manager.py:250
↓ 33 callersMethodconnect
(self)
espargos/uart.py:206
↓ 32 callersMethodget_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 callersMethodget_calibration
Get the stored calibration values. :return: The stored calibration values as a :class:`.calibration.CSICalibration` object
espargos/pool.py:694
↓ 25 callersFunction_clamp_s32
(value: int)
espargos/csi.py:714
↓ 22 callersMethodget
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 callersMethodset
Update configuration from application.
demos/common/config_manager.py:133
↓ 18 callersMethodget_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 callersMethodinitialize_qml
(self, qml_file, context_props: dict | None = None)
demos/common/espargos_application.py:264
↓ 17 callersMethodstart
Start the streaming of CSI data for all boards in the pool.
espargos/pool.py:359
↓ 16 callersFunction_fix32_mpy
(a: int, b: int, precise_rounding: bool = False)
espargos/csi.py:727
↓ 15 callersMethodclear
Clear all stored CSI datapoints from the ringbuffer. This is useful after changing calibration or other receiver settings: e
espargos/backlog.py:358
↓ 15 callersFunctiondeep_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 callersMethod_fetch
(self, path, data=None)
espargos/board.py:916
↓ 13 callersMethodexec
(self)
demos/camera/camera.py:155
↓ 13 callersMethodget_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 callersMethodinitialize_pool
(self, **kwargs)
demos/speedtest/speedtest.py:114
↓ 12 callersMethodadd_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 callersMethodget_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 callersMethodget_initial_config
Retrieve initial configuration value for given path. Examples: * self.get_initial_config("pool", "hosts", default=[])
demos/common/espargos_application.py:235
↓ 10 callersMethod_foreach_complete_sensor
(self, cb)
espargos/cluster.py:633
↓ 10 callersMethodget_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 callersMethodrun
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 callersFunction_active_slice
(fft_size: int, active_count: int)
espargos/csi.py:709
↓ 9 callersMethodset_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 callersMethod_post_json_ok
POST JSON payload to `/<path>` and require literal response 'ok'.
espargos/board.py:940
↓ 7 callersMethod_assert_same_across_boards
Ensure all entries in `values` are identical (after canonical JSON encoding for dict/list).
espargos/pool.py:105
↓ 7 callersFunction_centered_fft
(values: np.ndarray, fft_size: int)
espargos/csi.py:705
↓ 7 callersMethod_first_complete_sensor
(self)
espargos/cluster.py:640
↓ 7 callersMethod_get_json
GET `/<path>` and parse response as JSON.
espargos/board.py:949
↓ 7 callersMethodconfigManager
(self)
demos/common/pool_drawer.py:83
↓ 6 callersMethod_send_frame
(self, frame_type: int, request_id: int, payload: bytes)
espargos/uart.py:400
↓ 6 callersMethodclose
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 callersMethoddeserialize_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 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodsensor_values_to_antid_list
Convert a board-local (row, column) array to firmware antenna-id order.
espargos/revisions.py:38
↓ 5 callersMethodcalibrate
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 callersMethodget_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 callersMethodhas_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 callersMethodhas_radar_tx_report
Check whether this cluster has transmit-side radar metadata attached.
espargos/cluster.py:143
↓ 5 callersMethodremove_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 callersMethodstop
Stop the streaming of CSI data for all boards in the pool.
espargos/pool.py:366
↓ 4 callersMethod_configured_preamble_format
(self, default: str = "lltf")
demos/common/espargos_application.py:555
↓ 4 callersFunction_decode_compressed_tap_window
( buf, fft_size: int, tap_start: int, tap_count: int, active_count: int, correction: n
espargos/csi.py:1205
↓ 4 callersMethod_disable_udp_stream
Tell the server to stop the UDP stream (best-effort).
espargos/board.py:443
↓ 4 callersFunction_first_gain_value
(value)
demos/common/pool_drawer.py:15
↓ 4 callersMethod_read
(self, key)
espargos/backlog.py:317
↓ 4 callersFunction_reverse_bits16
(x: int, order: int)
espargos/csi.py:718
↓ 4 callersMethod_update_fit_parameters
(self)
demos/stochastic-fading/stochastic-fading.py:222
↓ 4 callersMethodantid_to_row_col
Convert firmware antenna id to (row, column) on this board revision.
espargos/revisions.py:34
↓ 4 callersMethodapply_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 callersMethoddeserialize_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 callersMethoddeserialize_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 callersMethodemitShowError
(self, title: str, message: str)
demos/common/config_manager.py:130
↓ 4 callersFunctionget_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 callersMethodget_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 callersMethodget_radar_tx_info
Return the transmit-side radar report for this packet, or None if not available.
espargos/cluster.py:149
↓ 4 callersMethodget_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 callersMethodhas_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 callersMethodhas_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 callersMethodinitialize_pool
Initialize ESPARGOS Pool. Also triggers creation of pool drawer backend.
demos/common/espargos_application.py:303
↓ 4 callersMethodis_radar
Check whether this cluster corresponds to a radar packet.
espargos/cluster.py:602
↓ 4 callersMethodnonempty
Check if the backlog is nonempty :return: True if the backlog is nonempty
espargos/backlog.py:412
↓ 3 callersMethod_apply_modem_idle_state
(self, ser: serial.Serial)
espargos/uart.py:472
↓ 3 callersFunction_broadcast_to_pool_shape
(values, name: str, boards, dtype=None)
espargos/radar.py:158
↓ 3 callersMethod_csistream_handle_message
(self, message)
espargos/board.py:829
↓ 3 callersMethod_device_to_string
(self, device: QCameraDevice)
demos/camera/videocamera.py:43
↓ 3 callersMethod_emit_sample_state_changed
(self)
demos/stochastic-fading/stochastic-fading.py:174
↓ 3 callersMethod_format_to_string
(self, fmt: QCameraFormat)
demos/camera/videocamera.py:46
↓ 3 callersMethod_get_schedule_ms
(self, name: str)
demos/radar-csi/radar-csi.py:154
↓ 3 callersMethod_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 callersMethod_interpolate_axis_range
(self, previous, new)
demos/instantaneous-csi/instantaneous-csi.py:131
↓ 3 callersMethod_normalize_mac
(mac: str)
demos/radar-schedule-check/radar-schedule-check.py:134
↓ 3 callersMethod_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 callersFunction_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 callersMethod_uses_backlog
Check if this class uses the BacklogMixin.
demos/common/espargos_application.py:210
↓ 3 callersMethoddisable_csi_stream
(self)
espargos/uart.py:334
↓ 3 callersMethodesp_num_to_row_col
Convert ESP number to (row, column) on the board
espargos/revisions.py:30
↓ 3 callersMethodget_fft_gain
Get the signed FFT gain values reported for the WiFi packet.
espargos/cluster.py:558
↓ 3 callersMethodget_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 callersMethodget_radar_tx_index
Return the flattened TX sensor index derived from the CSI stream UID, or -1 if unknown.
espargos/cluster.py:155
↓ 3 callersMethodget_rx_gain
Get the signed RX gain values reported for the WiFi packet.
espargos/cluster.py:552
↓ 3 callersMethodhas_he20ltf
Check if HE20 HE-LTF channel estimates are available for all complete sensors.
espargos/cluster.py:422
↓ 3 callersMethodrequest
(self, method: str, path: str, body: bytes | str | None = None, timeout: float | None = None)
espargos/uart.py:306
↓ 3 callersMethodset_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 callersMethodset_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 callersMethodset_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 callersMethodstart
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 callersMethod_add_argparse_arguments
(self, parser)
demos/common/espargos_application.py:415
↓ 2 callersMethod_allocate_request_id
(self)
espargos/uart.py:394
↓ 2 callersMethod_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 callersMethod_default_config_template
(self)
demos/common/espargos_application.py:67
↓ 2 callersMethod_effective_min_antennas
(self)
demos/cfo-viewer/cfo-viewer.py:103
↓ 2 callersMethod_ensure_run_worker
(self)
demos/radar-schedule-check/radar-schedule-check.py:81
↓ 2 callersFunction_extract_signed15
(x: int)
espargos/csi.py:1298
↓ 2 callersFunction_fftshift_1d
(values: np.ndarray)
espargos/csi.py:700
↓ 2 callersMethod_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 callersMethod_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