skrf.network.Network.copy_subset

Network.copy_subset(key)[source]

Returns a copy of a frequency subset of this Network

Needed to allow pass-by-value for a subset Network instead of pass-by-reference

Parameters

key (numpy array) – the array indices of the frequencies to take

Returns

ntwk – Copy of the frequency subset of the Network

Return type

Network