get_num_channels()#

SDRDriverBase.get_num_channels(
*,
direction: Direction = Direction.RX,
) → int[source]#

Return the number of signal paths in a direction.

Parameters:

direction (Direction) – Direction to count.

Returns:

int – Signal paths. 0 means the radio cannot use that direction at all.

Raises:

NotImplementedError – If the driver does not support reporting channel counts.