ml-gsd
Version:
Global Spectral Deconvolution
16 lines • 496 B
TypeScript
/**
* Group peaks based on factor
* In order to group peaks we only need the x and width value. This means that
* in the current implementation we don't take into account the asymmetry of peaks
*/
export declare function groupPeaks<T extends {
x: number;
width: number;
}>(peaks: T[], options?: {
/**
* In order to group peaks we will use a factor that takes into account the peak width.
*
*/
factor?: number;
}): T[][];
//# sourceMappingURL=groupPeaks.d.ts.map