rainbow.waters.read

read(path, precision='auto', requested_files=None)[source]

Reads a Waters .raw directory.

Parameters:
  • path (str) – Path of the directory.

  • precision (int or 'auto', optional) – Number of decimals to round ylabels. 'auto' means whole numbers: rainbow applies one calibration per function (no per-scan drift is modelled), so Waters MS is treated as unit-resolution here.

  • requested_files (list, optional) – List of filenames to parse.

Returns:

DataDirectory representing the Waters .raw directory.