skrf.network.Network.copy_from

Network.copy_from(other)[source]

Copy the contents of another Network into self.

Uses copy, so that the data is passed-by-value, not reference

Parameters:

other (Network) – the network to copy the contents of

Return type:

None

Examples

>>> a = rf.N()
>>> b = rf.N('my_file.s2p')
>>> a.copy_from (b)