skrf.network.Network.number_of_ports

Network.number_of_ports

the number of ports the network has.

Returns:number_of_ports – the number of ports the network has.
Return type:number