Interface CalibrateOptions

interface CalibrateOptions {
    from?: number;
    gsd?: GSDOptions;
    nbPeaks?: number;
    targetX?: number;
    to?: number;
}

Properties

from?: number

from

Default

x[0]
gsd?: GSDOptions

array of from / to that should be kept

Default

[{from,to}]
nbPeaks?: number

number of points

Default

1
targetX?: number

define the new X value

Default

0
to?: number

to

Default

x[x.length-1]