rainbow.agilent.read
- read(path, prec=0, hrms=False, requested_files=None, telemetry=False, centroid=False)[source]
Reads an Agilent .D directory or .dx archive.
- Parameters:
path (str) – Path of the directory or .dx file.
prec (int, optional) – Number of decimals to round masses.
hrms (bool, optional) – Flag for parsing the MassHunter profile spectrum (MSProfile.bin).
requested_files (list, optional) – List of filenames to parse.
telemetry (bool, optional) – Flag for parsing .dx telemetry traces.
centroid (bool, optional) – Flag for parsing the MassHunter centroid spectrum (MSPeak.bin).
- Returns:
DataDirectory representing the Agilent data.