rainbow.peaks_from_asm
- peaks_from_asm(measurement)[source]
Reads the integrated peaks of one ASM measurement document.
The reader
from_asm()andsequence_from_asm()use for each measurement, for a caller holding a measurement document of its own: one channel of one injection, walked out of a document it read itself, or an index document whose cubes carry no values. The peaks are read whether or not the measurement’s trace could be rebuilt.- Parameters:
measurement (dict) – One
measurement documentof an ASM liquid- or gas-chromatography document.- Returns:
The peak group, the shape of an entry of
DataDirectory.peaks:signal,wavelength,descriptionandchannel_filename the channel,detectorandmetadatadescribe it as its DataFile would,peaksholds the first integration’s peaks andprocessingits provenance, andalternatesholds every further integration, in document order. None when the measurement carries no peaks.- Return type:
dict