get_band_names#

Revision.get_band_names(radio_node: RadioNode = None, radio_name: str = '', tx_rx_mode: TxRxMode = None) list[str]#

Get a list of all enabled tx or rx bands (or waveforms) in a given radio/emitter.

Parameters:
radio_namestr

The name of the radio/emitter

radio_nodeRadioNode

The radio/emitter.

tx_rx_modeemit_constants.TxRxMode, optional

Specifies whether to get tx or rx band names. The default is None, in which case the names of all enabled bands are returned.

Returns:
bands: list[str]

List of tx or rx band/waveform names.

Examples

>>> bands = aedtapp.results.current_revision.get_band_names("Bluetooth", TxRxMode.RX)
>>> waveforms = aedtapp.results.current_revision.get_band_names("USB_3.x", TxRxMode.TX)