@zakodium/nmr-types 0.5.21 → 0.5.22
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 +8 -3
- package/package.json +2 -2
package/dist/nmr-types.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type * as Filters from 'ml-signal-processing';
|
|
2
2
|
import type { FilterXYType } from 'ml-signal-processing';
|
|
3
3
|
import type { FromTo } from 'cheminfo-types';
|
|
4
|
+
import type { GaussianShape1D } from 'ml-peak-shape-generator';
|
|
5
|
+
import type { GeneralizedLorentzianShape1D } from 'ml-peak-shape-generator';
|
|
4
6
|
import type { Logger } from 'cheminfo-types';
|
|
7
|
+
import type { LorentzianShape1D } from 'ml-peak-shape-generator';
|
|
5
8
|
import type { NumberArray } from 'cheminfo-types';
|
|
6
9
|
import type { PeakXYWidth } from 'cheminfo-types';
|
|
7
|
-
import type {
|
|
10
|
+
import type { PseudoVoigtShape1D } from 'ml-peak-shape-generator';
|
|
8
11
|
import type { XYEquallySpacedOptions } from 'ml-spectra-processing';
|
|
9
12
|
|
|
10
13
|
export declare interface AirplsOptions {
|
|
@@ -500,7 +503,7 @@ export declare type MatrixProperties = Record<string, Properties>;
|
|
|
500
503
|
export declare interface NMRPeak1D extends PeakXYWidth {
|
|
501
504
|
id?: string;
|
|
502
505
|
kind?: SignalKind;
|
|
503
|
-
shape?:
|
|
506
|
+
shape?: NMRShape1D;
|
|
504
507
|
originalX?: number;
|
|
505
508
|
}
|
|
506
509
|
|
|
@@ -514,6 +517,8 @@ export declare interface NMRRange {
|
|
|
514
517
|
signals?: NMRSignal1D[];
|
|
515
518
|
}
|
|
516
519
|
|
|
520
|
+
export declare type NMRShape1D = GaussianShape1D | LorentzianShape1D | PseudoVoigtShape1D | GeneralizedLorentzianShape1D;
|
|
521
|
+
|
|
517
522
|
export declare interface NMRSignal1D {
|
|
518
523
|
delta: number;
|
|
519
524
|
id?: string;
|
|
@@ -643,7 +648,7 @@ declare interface SelectField extends Field<any> {
|
|
|
643
648
|
choices: any[];
|
|
644
649
|
}
|
|
645
650
|
|
|
646
|
-
export declare type Shape1DWithFWHM = Omit<
|
|
651
|
+
export declare type Shape1DWithFWHM = Omit<NMRShape1D, 'fwhm'> & {
|
|
647
652
|
fwhm: number;
|
|
648
653
|
};
|
|
649
654
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakodium/nmr-types",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.22",
|
|
4
4
|
"description": "Types related to NMR data processing.",
|
|
5
5
|
"author": "Zakodium Sàrl",
|
|
6
6
|
"license": "CC-BY-NC-SA-4.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"volta": {
|
|
39
39
|
"extends": "../../../package.json"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "0ece9ccd345967708feb9e38a41db3961de9fb51"
|
|
42
42
|
}
|