WrightTools.data.from_spcm(filepath, name=None, *, delimiter=', ', parent=None, verbose=True) → WrightTools.data._data.Data[source]

Create a Data object from a Becker & Hickl spcm file (ASCII-exported, .asc).

If provided, setup parameters are stored in the attrs dictionary of the Data object.

See the spcm software hompage for more info.

  • filepath (path-like) – Path to SPC-xxx .asc file. Can be either a local or remote file (http/ftp). Can be compressed with gz/bz2, decompression based on file name.

  • name (string (optional)) – Name to give to the created data object. If None, filename is used. Default is None.

  • delimiter (string (optional)) – The string used to separate values. Default is ‘,’.

  • parent (WrightTools.Collection (optional)) – Collection to place new data object within. Default is None.

  • verbose (boolean (optional)) – Toggle talkback. Default is True.


Return type

WrightTools.data.Data object