nmr-processing 13.0.0 → 13.0.1
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 +4 -2
- package/nmr-processing.mjs +3 -3
- package/package.json +1 -1
package/nmr-processing.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export declare interface ApodizationOptions {
|
|
|
95
95
|
/**
|
|
96
96
|
* parameters of the shape plus the kind of shape to identify
|
|
97
97
|
*/
|
|
98
|
-
shapes?:
|
|
98
|
+
shapes?: Shapes<FlexibleWindowFunctions>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/***
|
|
@@ -3408,9 +3408,11 @@ declare interface ShapeOptions<ShapeWindow = WindowFunctions> {
|
|
|
3408
3408
|
/**
|
|
3409
3409
|
* parameters of the shape plus the kind of shape to identify
|
|
3410
3410
|
*/
|
|
3411
|
-
shapes?:
|
|
3411
|
+
shapes?: Shapes<ShapeWindow>;
|
|
3412
3412
|
}
|
|
3413
3413
|
|
|
3414
|
+
declare type Shapes<ShapeWindow = WindowFunctions> = Partial<Record<WindowFunctions['kind'], ShapeToAdd<ShapeWindow>>>;
|
|
3415
|
+
|
|
3414
3416
|
declare interface ShapeToAdd<ShapeWindows = WindowFunctions> {
|
|
3415
3417
|
/**
|
|
3416
3418
|
* if it is false the shape is not included in the apodization
|