skrf.network.Network.write¶
- Network.write(file=None, *args, **kwargs)[source]¶
Write the Network to disk using the
picklemodule.The resultant file can be read either by using the Networks constructor,
__init__(), the read methodread(), or the general read functionskrf.io.general.read()- Parameters
- Return type
None
Note
If the self.name is not None and file is can left as None and the resultant file will have the .ntwk extension appended to the filename.
Examples
>>> n = rf.N(f=[1,2,3],s=[1,1,1],z0=50, name = 'open') >>> n.write() >>> n2 = rf.read('open.ntwk')
See also
skrf.io.general.writewrite any skrf object
skrf.io.general.readread any skrf object