- setShape<T>(peaks, options?): (T & {
shape: Shape1D;
})[] Type Parameters
T extends {
width: number;
}
Parameters
peaks: T[]
options: {
output?: T[];
shape?: Shape1D;
} = {}
Optional
output?: T[]
Optional
shape?: Shape1D
Returns (T & {
shape: Shape1D;
})[]
Append 2 properties to the peaks, shape and fwhm