WrightTools.data.from_PyCMDS

WrightTools.data.from_PyCMDS(filepath, name=None, parent=None, verbose=True) → WrightTools.data._data.Data[source]

Create a data object from a single PyCMDS output file.

Parameters:
  • filepath (path-like) – Path to the .data file Can be either a local or remote file (http/ftp). Can be compressed with gz/bz2, decompression based on file name.
  • name (str or None (optional)) – The name to be applied to the new data object. If None, name is read from file.
  • parent (WrightTools.Collection (optional)) – Collection to place new data object within. Default is None.
  • verbose (bool (optional)) – Toggle talkback. Default is True.
Returns:

A Data instance.

Return type:

data