skrf.calibration.calibration.TRL.write

TRL.write(file=None, *args, **kwargs)

Write the Calibration to disk using write().

Parameters:
  • file (str or file-object) – filename or a file-object. If left as None then the filename will be set to Calibration.name, if its not None. If both are None, ValueError is raised.

  • *args (arguments and keyword arguments) – passed through to write()

  • **kwargs (arguments and keyword arguments) – passed through to write()

Notes

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

>>> cal.name = 'my_cal'
>>> cal.write()