spectrochempy.nmr.read_agilent

read_agilent(dataset) = <spectrochempy.nmr.read_agilent unresolved>

Open Agilent/Varian NMR spectra.

Parameters:
  • *paths (str, Path objects or valid urls, optional) – The data source(s). Can be:

    • a path to a directory containing fid and procpar files

    • a path to the fid file itself

    • a list of paths (datasets are merged if merge=True)

  • **kwargs (keyword parameters, optional) – See Other Parameters.

Returns:

object (NDDataset or ScpObjectList of NDDataset) – The returned dataset(s).

Other Parameters:
  • content (bytes, optional) – Raw bytes content instead of a filename.

  • description (str, optional) – A custom description.

  • directory (Path, optional) – Base directory for resolving relative paths.

  • merge (bool, optional, default: False) – If True and several filenames are provided, merge into a single dataset.

  • origin (str, optional) – Override the origin label (default 'agilent').

See also

read

Generic reader inferring protocol from filename extension.

Examples

Reading a single Agilent FID directory:

>>> scp.nmr.read('path/to/agilent_1d/')