Interface MassFilterOptions

interface MassFilterOptions {
    groupWidth?: number;
    maxNumberPeaks?: number;
    thresholdFactor?: number;
}

Properties

groupWidth?: number

When find a max can't be another max in a radius of this size.

Default

0

maxNumberPeaks?: number

Maximum number of peaks for each mass spectrum (when it is Number.MAX_VALUE, there's no filter).

Default

Number.MAX_VALUE

thresholdFactor?: number

Every peak that is below the main peak times this factor fill be removed (when it is 0, there's no filter).

Default

0