rainbow.waters.read

read(path, display_precision='auto', requested_files=None, bin_width=None, _labels_only=False, **removed)[source]

Reads a Waters .raw directory.

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

  • display_precision (int or 'auto', optional) – Decimals for the displayed m/z (or wavelength) labels. Cosmetic. 'auto' means whole numbers.

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

  • bin_width (float, optional) – m/z bin width, the lossy binning control. The default is nominal mass (1 Da). Waters MS m/z is calibrated to roughly 0.03 Da.

Returns:

DataDirectory representing the Waters .raw directory.