mmwavecapture.parser.pcap package#

Submodules#

mmwavecapture.parser.pcap.cparser module#

class mmwavecapture.parser.pcap.cparser.PcapCparser(pcap_file: Path, data_ports: list[int] = [4098], lsb_quadrature: bool = True, preprocessing: bool = True)#

Bases: object

DCA1000EVM pcap c++ parser Assumption for DCA1000EVM: LVDS 2 Channels

get_complex(port: int) ndarray[Any, dtype[complex64]]#
preprocessing() None#
validate_dca_data(port: int) bool#

mmwavecapture.parser.pcap.layer7 module#

class mmwavecapture.parser.pcap.layer7.Config(packet: Packet)#

Bases: object

class mmwavecapture.parser.pcap.layer7.Raw(packet: Packet)#

Bases: object

mmwavecapture.parser.pcap.parser module#

mmwavecapture.parser.pcap.parser.get_raw_bytes_from_pcap(filename: Path, data_port: int = 4098)#

Get raw bytes from a pcap file by a specific data port.

This will return the raw bytes from the data port.

Note: This is not guaranteed to be in order.

Module contents#