@zakodium/nmr-types 0.1.0 → 0.1.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/dist/nmr-types.d.ts +22 -1
- package/package.json +3 -3
package/dist/nmr-types.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export declare interface BaselineCorrectionFilterOptions extends BaseFilter {
|
|
|
99
99
|
value: BaselineCorrectionOptions;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
export declare type BaselineCorrectionOptions = PolynomialOptions | AirplsOptions;
|
|
102
|
+
export declare type BaselineCorrectionOptions = PolynomialOptions | AirplsOptions | WhittakerOptions | BernsteinOptions | CubicOptions;
|
|
103
103
|
|
|
104
104
|
export declare interface BaselineCorrectionZone {
|
|
105
105
|
from: number;
|
|
@@ -111,12 +111,26 @@ export declare interface BasePeak {
|
|
|
111
111
|
id: string;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export declare interface BernsteinOptions {
|
|
115
|
+
algorithm: 'bernstein';
|
|
116
|
+
degree: number;
|
|
117
|
+
maxIterations?: number;
|
|
118
|
+
tolerance?: number;
|
|
119
|
+
factorStd?: number;
|
|
120
|
+
learningRate?: number;
|
|
121
|
+
minWeight?: number;
|
|
122
|
+
}
|
|
123
|
+
|
|
114
124
|
declare interface BooleanField extends Field<boolean> {
|
|
115
125
|
type: 'boolean';
|
|
116
126
|
}
|
|
117
127
|
|
|
118
128
|
declare type CommonField = SelectField | StringField | NumberField | BooleanField | LabelField;
|
|
119
129
|
|
|
130
|
+
export declare interface CubicOptions {
|
|
131
|
+
algorithm: 'cubic';
|
|
132
|
+
}
|
|
133
|
+
|
|
120
134
|
export declare interface DigitalFilter2DOptions extends BaseFilter {
|
|
121
135
|
name: 'digitalFilter2D';
|
|
122
136
|
value: DigitalFilterOptions_2;
|
|
@@ -640,6 +654,13 @@ export declare interface TrafOptions {
|
|
|
640
654
|
lineBroadening: number;
|
|
641
655
|
}
|
|
642
656
|
|
|
657
|
+
export declare interface WhittakerOptions {
|
|
658
|
+
algorithm: 'whittaker';
|
|
659
|
+
lambda?: number;
|
|
660
|
+
scale?: number;
|
|
661
|
+
maxIterations?: number;
|
|
662
|
+
}
|
|
663
|
+
|
|
643
664
|
export declare interface ZeroFillingDimension1Options extends BaseFilter {
|
|
644
665
|
name: 'zeroFillingDimension1';
|
|
645
666
|
value: ZeroFillingOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakodium/nmr-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Types related to NMR data processing.",
|
|
5
5
|
"author": "Zakodium Sàrl",
|
|
6
6
|
"license": "CC-BY-NC-SA-4.0",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"tsc": "tsc --project tsconfig.types.json"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^24.0
|
|
26
|
+
"@types/node": "^24.2.0",
|
|
27
27
|
"cheminfo-types": "^1.8.1",
|
|
28
|
-
"esbuild": "^0.25.
|
|
28
|
+
"esbuild": "^0.25.8",
|
|
29
29
|
"rimraf": "^6.0.1",
|
|
30
30
|
"vitest": "^3.2.4"
|
|
31
31
|
},
|