nmr-processing 13.0.1 → 13.0.2
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 +3 -3
- package/nmr-processing.d.ts +10 -18
- package/nmr-processing.mjs +3 -3
- package/package.json +18 -18
package/nmr-processing.d.ts
CHANGED
|
@@ -61,12 +61,14 @@ export declare function apodization(data: DataReIm | DataXReIm, options?: Apodiz
|
|
|
61
61
|
im: DoubleArray;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
export declare interface
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
export declare interface Apodization1DOptions {
|
|
65
|
+
apply?: boolean;
|
|
66
|
+
shapes?: Apodization2DOptions;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export declare
|
|
69
|
+
export declare type Apodization2DOptions = Shapes<FlexibleWindowFunctions>;
|
|
70
|
+
|
|
71
|
+
export declare function apodizationFilter(datum1D: Entry1DApodizationFilter, options: Apodization1DOptions): {
|
|
70
72
|
re: DoubleArray;
|
|
71
73
|
im: DoubleArray;
|
|
72
74
|
};
|
|
@@ -86,18 +88,6 @@ export declare interface ApodizationFilterOptions {
|
|
|
86
88
|
windowData?: Float64Array;
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
export declare interface ApodizationOptions {
|
|
90
|
-
/**
|
|
91
|
-
* apply the window data to input data
|
|
92
|
-
* @default true
|
|
93
|
-
*/
|
|
94
|
-
apply?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* parameters of the shape plus the kind of shape to identify
|
|
97
|
-
*/
|
|
98
|
-
shapes?: Shapes<FlexibleWindowFunctions>;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
91
|
/***
|
|
102
92
|
* @param {object} Filters [{name:'',options:{}},{...}]
|
|
103
93
|
*/
|
|
@@ -466,7 +456,7 @@ export { FiltersManager }
|
|
|
466
456
|
*/
|
|
467
457
|
export declare function findMultiplet(name: string): MultipletDefinition | undefined;
|
|
468
458
|
|
|
469
|
-
export declare type FlexibleWindowFunctions = Exponential<Partial<ExponentialOptions>> | LorentToGauss<Partial<LorentzToGaussOptions>> | SineBell<Partial<SineBellOptions>> | SineSquare<Partial<
|
|
459
|
+
export declare type FlexibleWindowFunctions = Exponential<Partial<ExponentialOptions>> | LorentToGauss<Partial<LorentzToGaussOptions>> | SineBell<Partial<SineBellOptions>> | SineSquare<Partial<SineSquareOptions>> | Traf<Partial<TrafOptions>> | ModifiedGaussian<Partial<ModifiedGaussianOptions>>;
|
|
470
460
|
|
|
471
461
|
export declare interface ForwardLPOptions {
|
|
472
462
|
/**
|
|
@@ -2657,7 +2647,7 @@ export declare function normalizeNucleus(nucleus: string): string;
|
|
|
2657
2647
|
|
|
2658
2648
|
export { Nuclei }
|
|
2659
2649
|
|
|
2660
|
-
export declare type Nucleus = Nuclei | `${Nuclei},${Nuclei}` | (string &
|
|
2650
|
+
export declare type Nucleus = Nuclei | `${Nuclei},${Nuclei}` | (string & Record<never, never>);
|
|
2661
2651
|
|
|
2662
2652
|
declare type Nucleus_2 = Nuclei | (string & Record<never, never>);
|
|
2663
2653
|
|
|
@@ -3716,6 +3706,8 @@ declare interface SineSquare<ShapeOption = SineBellOptions> {
|
|
|
3716
3706
|
options: ShapeOption;
|
|
3717
3707
|
}
|
|
3718
3708
|
|
|
3709
|
+
declare type SineSquareOptions = Omit<SineBellOptions, 'exponent'>;
|
|
3710
|
+
|
|
3719
3711
|
export declare type Solvent = keyof typeof impuritiesContent;
|
|
3720
3712
|
|
|
3721
3713
|
declare type Solvent_2 = keyof typeof impurities;
|