WrightTools.data.from_KENT

WrightTools.data.from_KENT(filepaths, name=None, ignore=['wm'], delay_tolerance=0.1, frequency_tolerance=0.5, parent=None, verbose=True) Data[source]

Create data object from KENT file(s).

Parameters:
  • filepaths (path-like or list of path-like) – Filepath(s). Can be either a local or remote file (http/ftp). Can be compressed with gz/bz2, decompression based on file name.

  • name (string (optional)) – Unique dataset identifier. If None (default), autogenerated.

  • ignore (list of strings (optional)) – Columns to ignore. Default is [‘wm’].

  • delay_tolerance (float (optional)) – Tolerance below-which to ignore delay changes (in picoseconds). Default is 0.1.

  • frequency_tolerance (float (optional)) – Tolerance below-which to ignore frequency changes (in wavenumbers). Default is 0.5.

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

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

Returns:

Data from KENT.

Return type:

WrightTools.Data