nmr-processing 22.21.0 → 22.22.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/dist/nmr-processing.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type { BaselineCorrectionFilterOptions } from '@zakodium/nmr-types';
|
|
|
18
18
|
import type { BaselineCorrectionOptions } from '@zakodium/nmr-types';
|
|
19
19
|
import type { BaselineCorrectionZone } from '@zakodium/nmr-types';
|
|
20
20
|
import { BaseRegression } from 'ml-regression-base';
|
|
21
|
-
import
|
|
21
|
+
import { DataReIm } from 'ml-spectra-processing';
|
|
22
22
|
import type { DataReImMatrix } from 'ml-spectra-processing';
|
|
23
23
|
import type { DataXReIm } from 'ml-spectra-processing';
|
|
24
24
|
import { DataXY } from 'cheminfo-types';
|
|
@@ -224,6 +224,12 @@ declare interface AtomOutput {
|
|
|
224
224
|
|
|
225
225
|
declare type AtomTypes = 'H' | 'C';
|
|
226
226
|
|
|
227
|
+
export declare function autoPhaseCorrection(spectrum: Entry1D, options?: AutoPhaseCorrectionOptions): {
|
|
228
|
+
data: DataReIm;
|
|
229
|
+
ph0: number;
|
|
230
|
+
ph1: number;
|
|
231
|
+
};
|
|
232
|
+
|
|
227
233
|
export declare interface AutoPhaseCorrectionOptions {
|
|
228
234
|
minRegSize?: number;
|
|
229
235
|
maxDistanceToJoin?: number;
|