nmr-processing 11.4.1 → 11.5.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/nmr-processing.cjs +2 -2
- package/nmr-processing.d.ts +15 -81
- package/nmr-processing.mjs +2 -2
- package/package.json +1 -1
package/nmr-processing.d.ts
CHANGED
|
@@ -154,20 +154,6 @@ declare interface BasePeak {
|
|
|
154
154
|
id: string;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
declare interface BidimensionalFFTOptions {
|
|
158
|
-
acquisitionScheme: string;
|
|
159
|
-
info: Info2D_2;
|
|
160
|
-
zeroFilling?: ZeroFillingOptions_2;
|
|
161
|
-
phaseCorrection?: {
|
|
162
|
-
ph0: number;
|
|
163
|
-
ph1: number;
|
|
164
|
-
};
|
|
165
|
-
digitalFilterValue?: number;
|
|
166
|
-
apodization?: ApodizationFilterOptions;
|
|
167
|
-
indirect?: IndirectDimensionOptions;
|
|
168
|
-
direct?: DirectDimensionOptions;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
157
|
declare interface BooleanField extends Field<boolean> {
|
|
172
158
|
type: 'boolean';
|
|
173
159
|
}
|
|
@@ -275,15 +261,6 @@ export declare const DatumKind: {
|
|
|
275
261
|
|
|
276
262
|
declare function deleteFilter(datum: Entry1D | Entry2D, id?: string): void;
|
|
277
263
|
|
|
278
|
-
declare interface DirectDimensionOptions {
|
|
279
|
-
acquisitionScheme?: string;
|
|
280
|
-
reverse?: boolean;
|
|
281
|
-
digitalFilterValue?: number;
|
|
282
|
-
zeroFilling?: ZeroFillingOptions_2;
|
|
283
|
-
apodization?: ApodizationFilterOptions;
|
|
284
|
-
phaseCorrection?: PhaseCorrection_2;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
264
|
declare function enableFilter(datum: Entry1D | Entry2D, id: string | null, checked: boolean | null, filters?: Filter[]): void;
|
|
288
265
|
|
|
289
266
|
declare type Entry = Entry1D | Entry2D;
|
|
@@ -347,6 +324,15 @@ export declare interface Filter extends Required<BaseFilter> {
|
|
|
347
324
|
error?: string;
|
|
348
325
|
}
|
|
349
326
|
|
|
327
|
+
declare interface FilterContent {
|
|
328
|
+
apply: any;
|
|
329
|
+
reduce: any;
|
|
330
|
+
isApplicable: any;
|
|
331
|
+
name: string;
|
|
332
|
+
id: string;
|
|
333
|
+
DOMAIN_UPDATE_RULES: Readonly<FilterDomainUpdateRules>;
|
|
334
|
+
}
|
|
335
|
+
|
|
350
336
|
declare interface FilterDomainUpdateRules {
|
|
351
337
|
updateYDomain: boolean;
|
|
352
338
|
updateXDomain: boolean;
|
|
@@ -358,14 +344,11 @@ declare interface FilterOption {
|
|
|
358
344
|
value: any;
|
|
359
345
|
}
|
|
360
346
|
|
|
361
|
-
export declare const Filters: Record<string,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
id: string;
|
|
367
|
-
DOMAIN_UPDATE_RULES: Readonly<FilterDomainUpdateRules>;
|
|
368
|
-
}>;
|
|
347
|
+
export declare const Filters: Record<string, FilterContent>;
|
|
348
|
+
|
|
349
|
+
export declare const Filters1D: Record<string, FilterContent>;
|
|
350
|
+
|
|
351
|
+
export declare const Filters2D: Record<string, FilterContent>;
|
|
369
352
|
|
|
370
353
|
declare namespace FiltersManager {
|
|
371
354
|
export {
|
|
@@ -2096,14 +2079,6 @@ export declare interface ImpuritySignal {
|
|
|
2096
2079
|
shift: number;
|
|
2097
2080
|
}
|
|
2098
2081
|
|
|
2099
|
-
declare interface IndirectDimensionOptions {
|
|
2100
|
-
acquisitionScheme?: string;
|
|
2101
|
-
reverse?: boolean;
|
|
2102
|
-
zeroFilling?: ZeroFillingOptions_2;
|
|
2103
|
-
apodization?: ApodizationFilterOptions;
|
|
2104
|
-
phaseCorrection?: PhaseCorrection;
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
2082
|
declare interface Info {
|
|
2108
2083
|
isFid: boolean;
|
|
2109
2084
|
phc1?: number;
|
|
@@ -2150,11 +2125,9 @@ export declare interface Info2D extends Info {
|
|
|
2150
2125
|
tdOff?: number[];
|
|
2151
2126
|
spectrumSize: number[];
|
|
2152
2127
|
numberOfPoints: number[];
|
|
2153
|
-
linearPredictionBin?: number;
|
|
2128
|
+
linearPredictionBin?: number[];
|
|
2154
2129
|
}
|
|
2155
2130
|
|
|
2156
|
-
declare type Info2D_2 = any;
|
|
2157
|
-
|
|
2158
2131
|
export declare interface Integral {
|
|
2159
2132
|
id: string;
|
|
2160
2133
|
originalFrom: number;
|
|
@@ -2758,18 +2731,6 @@ export declare interface PeaksToXYOptions extends OptionsSG1D {
|
|
|
2758
2731
|
|
|
2759
2732
|
export declare function peakToXY(peak: NMRPeak1D, options: PeaksToXYOptions): DataXY<Float64Array>;
|
|
2760
2733
|
|
|
2761
|
-
declare interface PhaseCorrection {
|
|
2762
|
-
mode?: string;
|
|
2763
|
-
ph0?: number;
|
|
2764
|
-
ph1?: number;
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
|
-
declare interface PhaseCorrection_2 {
|
|
2768
|
-
mode?: string;
|
|
2769
|
-
ph0?: number;
|
|
2770
|
-
ph1?: number;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
2734
|
export declare interface PhaseCorrectionParameters {
|
|
2774
2735
|
ph0: number;
|
|
2775
2736
|
ph1: number;
|
|
@@ -3780,27 +3741,6 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
3780
3741
|
kernel?: GetKernelOptions;
|
|
3781
3742
|
}
|
|
3782
3743
|
|
|
3783
|
-
export declare function xyzBidimensionalFFT(data: NmrData2D, options: BidimensionalFFTOptions): {
|
|
3784
|
-
re: {
|
|
3785
|
-
minX: number;
|
|
3786
|
-
maxX: number;
|
|
3787
|
-
minY: number;
|
|
3788
|
-
maxY: number;
|
|
3789
|
-
z: DoubleArray[];
|
|
3790
|
-
maxZ: number;
|
|
3791
|
-
minZ: number;
|
|
3792
|
-
};
|
|
3793
|
-
im: {
|
|
3794
|
-
minX: number;
|
|
3795
|
-
maxX: number;
|
|
3796
|
-
minY: number;
|
|
3797
|
-
maxY: number;
|
|
3798
|
-
z: DoubleArray[];
|
|
3799
|
-
maxZ: number;
|
|
3800
|
-
minZ: number;
|
|
3801
|
-
};
|
|
3802
|
-
};
|
|
3803
|
-
|
|
3804
3744
|
export declare function xyzJResAnalyzer(signals: NMRSignal2D[], options?: XYZJResAnalyzerOptions): any[];
|
|
3805
3745
|
|
|
3806
3746
|
declare interface XYZJResAnalyzerOptions extends CompilePatternOptions {
|
|
@@ -3826,12 +3766,6 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
3826
3766
|
factor?: number;
|
|
3827
3767
|
}
|
|
3828
3768
|
|
|
3829
|
-
declare interface ZeroFillingOptions_2 {
|
|
3830
|
-
nbPoints?: number;
|
|
3831
|
-
factor?: number;
|
|
3832
|
-
digitalFilterValue?: number;
|
|
3833
|
-
}
|
|
3834
|
-
|
|
3835
3769
|
export declare interface Zone {
|
|
3836
3770
|
id: string;
|
|
3837
3771
|
x: ZoneAxis;
|