UNPKG

ml-gsd

Version:
13 lines 463 B
import type { DataXY } from 'cheminfo-types'; /** * Correction of the x and y coordinates using a quadratic optimizations with the peak and its 3 closest neighbors to determine the true x,y values of the peak. * This process is done in place and is very fast. * @param data * @param peaks */ export declare function optimizeTop(data: DataXY, peaks: Array<{ index: number; x: number; y: number; }>): void; //# sourceMappingURL=optimizeTop.d.ts.map