nmr-processing 11.1.2 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nmr-processing.cjs +2 -2
- package/nmr-processing.d.ts +56 -0
- package/nmr-processing.mjs +2 -2
- package/package.json +1 -1
package/nmr-processing.d.ts
CHANGED
|
@@ -94,6 +94,25 @@ export declare interface AutoPhaseCorrectionOptions {
|
|
|
94
94
|
reverse?: boolean;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
export declare interface BackwardLPOptions {
|
|
98
|
+
/**
|
|
99
|
+
* Number of coefficients to be calculated in the SVD.
|
|
100
|
+
*/
|
|
101
|
+
nbCoefficients: number;
|
|
102
|
+
/**
|
|
103
|
+
* Number of points used in the prediction.
|
|
104
|
+
*/
|
|
105
|
+
nbInputs: number;
|
|
106
|
+
/**
|
|
107
|
+
* Number of points to predict
|
|
108
|
+
*/
|
|
109
|
+
nbPoints: number;
|
|
110
|
+
/**
|
|
111
|
+
* Output array that could be used for in-place modification.
|
|
112
|
+
*/
|
|
113
|
+
output?: Float64Array;
|
|
114
|
+
}
|
|
115
|
+
|
|
97
116
|
declare interface BaseField {
|
|
98
117
|
key: string;
|
|
99
118
|
level: number;
|
|
@@ -354,6 +373,25 @@ export { FiltersManager }
|
|
|
354
373
|
*/
|
|
355
374
|
export declare function findMultiplet(name: string): MultipletDefinition | undefined;
|
|
356
375
|
|
|
376
|
+
export declare interface ForwardLPOptions {
|
|
377
|
+
/**
|
|
378
|
+
* Number of coefficients to be calculated in the SVD.
|
|
379
|
+
*/
|
|
380
|
+
nbCoefficients: number;
|
|
381
|
+
/**
|
|
382
|
+
* Number of points used in the prediction.
|
|
383
|
+
*/
|
|
384
|
+
nbInputs: number;
|
|
385
|
+
/**
|
|
386
|
+
* Number of points to predict
|
|
387
|
+
*/
|
|
388
|
+
nbPoints: number;
|
|
389
|
+
/**
|
|
390
|
+
* Output array that could be used for in-place modification.
|
|
391
|
+
*/
|
|
392
|
+
output?: Float64Array;
|
|
393
|
+
}
|
|
394
|
+
|
|
357
395
|
export declare function get13CAssignments(ranges: NMRRange[], molecule: Molecule, options?: Get13CAssignmentsOptions): Promise<{
|
|
358
396
|
score: any;
|
|
359
397
|
assignment: unknown[];
|
|
@@ -3528,6 +3566,24 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
3528
3566
|
|
|
3529
3567
|
declare type WindowFunctions = Exponential | LorentToGauss | SineBell;
|
|
3530
3568
|
|
|
3569
|
+
/**
|
|
3570
|
+
* Predict back points by singular value decomposition.
|
|
3571
|
+
* to append the predicted points is it needed to append nbPoints zeros at the beginning of input data.
|
|
3572
|
+
*/
|
|
3573
|
+
export declare function xBackwardLinearPrediction(data: DoubleArray, options: BackwardLPOptions): {
|
|
3574
|
+
output: Float64Array;
|
|
3575
|
+
predicted: Float64Array;
|
|
3576
|
+
};
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* Predict back points by singular value decomposition.
|
|
3580
|
+
* to append the predicted points is it needed to append nbPoints zeros at the beginning of input data.
|
|
3581
|
+
*/
|
|
3582
|
+
export declare function xForwardLinearPrediction(data: DoubleArray, options: ForwardLPOptions): {
|
|
3583
|
+
output: Float64Array;
|
|
3584
|
+
predicted: Float64Array;
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3531
3587
|
export declare function xyAutoPeaksPicking(data: DataXY, options: OptionsXYAutoPeaksPicking): NMRPeak1DWithShapeID[];
|
|
3532
3588
|
|
|
3533
3589
|
/**
|