mzLib
mzLib copied to clipboard
FlashLFQ refactoring to enable generic peak operations
Added an interface, ISingleScanDatum and and abstract class, TraceablePeak, to enable the generic use of pre-existing FlashLFQ functions.
ISingleScanDatum
- Defines the behaviour that a single datapoint is expected to have, e.g., mz, index, separation (retention time)
- Examples are IndexedMassSpectralPeak, IsotopicEnvelope
TraceablePeak
- Contains a list of ISingleScanDatum object
- Implements a default CutPeak method
- Provides a static FindPeakBoundaries method that should be useful