write(file=None, *args, **kwargs)¶
Write the NetworkSet to disk using
- 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.
- **kwargs (*args,) – passed through to
If the self.name is not None and file is can left as None and the resultant file will have the .ns extension appended to the filename.
>>> ns.name = 'my_ns' >>> ns.write()