ml-spectra-processing
    Preparing search index...

    Interface XYsFilterOptions

    interface XYsFilterOptions {
        minConsecutiveSpectra?: number;
        minNumberOfSpectra?: number;
        minY?: number;
        requiredY?: boolean;
    }
    Index

    Properties

    minConsecutiveSpectra?: number

    The smallest number of neighbouring spectra that must all contain a slot, neighbouring meaning next to each other in ys. Made for spectra ordered by retention time, where a real compound is present in a run of consecutive scans while noise is scattered. 0 does not filter.

    0
    
    minNumberOfSpectra?: number

    The smallest number of spectra that must contain a slot. 0 does not filter.

    0
    
    minY?: number

    The minimal y a spectrum must have in a slot to contain it, meant to be set above 0. When it is not set a spectrum contains a slot when its y there is not 0, so the negative peaks of a signed spectrum count as present. On its own this never removes a slot, it only changes what the criteria below count as contained.

    undefined
    
    requiredY?: boolean

    If true, every spectrum must contain the slot. Same as setting minNumberOfSpectra to the number of spectra.

    false