ml-gsd
Version:
Global Spectral Deconvolution
14 lines • 419 B
TypeScript
import type { Shape1D } from 'ml-peak-shape-generator';
/**
* add missing property if it does not exist in the peak,
* if shape exists but fwhm doesn't, it will be calculated from peak.width
*/
export declare function addMissingShape<T extends {
width: number;
}>(peaks: T[], options?: {
shape?: Shape1D;
output?: T[];
}): Array<T & {
shape: Shape1D;
}>;
//# sourceMappingURL=addMissingShape.d.ts.map