ml-gsd
Version:
Global Spectral Deconvolution
17 lines • 417 B
TypeScript
import type { Shape1D } from 'ml-peak-shape-generator';
/**
* Append 2 properties to the peaks, shape and fwhm
*/
export declare function setShape<T extends {
width: number;
}>(peaks: T[], options?: {
/**
* Shape to use to calculate FWHM
* @default "{ kind: 'gaussian' }"
*/
shape?: Shape1D;
output?: T[];
}): Array<T & {
shape: Shape1D;
}>;
//# sourceMappingURL=setShape.d.ts.map