nmr-processing 22.20.2 → 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.
@@ -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 type { DataReIm } from 'ml-spectra-processing';
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;
@@ -2608,6 +2614,8 @@ declare interface TwoDOptions {
2608
2614
 
2609
2615
  export declare function updateIntegralsRelativeValues(spectrum: Entry1D, forceCalculateIntegral?: boolean): void;
2610
2616
 
2617
+ export declare function updatePeaksRelativeValues(spectrum: Entry1D, forceCalculateIntegral?: boolean): void;
2618
+
2611
2619
  export declare function updateRanges(spectrum: Entry1D): void;
2612
2620
 
2613
2621
  export declare function updateRangesRelativeValues(spectrum: Entry1D, forceCalculateIntegral?: boolean): void;