get_active_frequencies#

Revision.get_active_frequencies(radio_name: str, band_name: str, tx_rx_mode: int | TxRxMode, units: str = '') list[float]#

Get a list of active frequencies for a tx or rx band in a radio/emitter.

Parameters:
radio_namestr

Name of the radio/emitter.

band_namestr

Name of the band.

tx_rx_modeint | emit_constants.TxRxMode

Specifies whether to get tx or rx radio frequencies. Accepts TxRxMode enum values (which are int: 0=TX, 1=RX, 2=BOTH).

unitsstr, optional

Units for the frequencies. The default is None which uses the units specified globally for the project.

Returns:
freqsList of float

List of tx or rx radio/emitter frequencies.

Examples

>>> freqs = aedtapp.results.current_revision.get_active_frequencies(
        'Bluetooth', 'Rx - Base Data Rate', TxRxMode.RX)