nmr-processing 14.0.1 → 14.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 +1 -1
- package/nmr-processing.d.ts +3 -10
- package/nmr-processing.mjs +3 -3
- package/package.json +2 -2
package/nmr-processing.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import { NmrData1D } from 'cheminfo-types';
|
|
|
18
18
|
import { NmrData2D } from 'cheminfo-types';
|
|
19
19
|
import { NmrData2DContent } from 'cheminfo-types';
|
|
20
20
|
import { NmrData2DFt } from 'cheminfo-types';
|
|
21
|
-
import { Nuclei } from 'gyromagnetic-ratio';
|
|
22
21
|
import { NumberArray } from 'cheminfo-types';
|
|
23
22
|
import { OCLMolecule } from 'cheminfo-types';
|
|
24
23
|
import { OptimizePeaksOptions } from 'ml-gsd';
|
|
@@ -814,7 +813,7 @@ export declare function getFrequency(
|
|
|
814
813
|
/**
|
|
815
814
|
* nucleus to calculate the frequency
|
|
816
815
|
*/
|
|
817
|
-
nucleus:
|
|
816
|
+
nucleus: string, observedNucleusData: ObservedNucleusData): number;
|
|
818
817
|
|
|
819
818
|
declare interface GetKernelOptions {
|
|
820
819
|
sigma?: number;
|
|
@@ -2765,23 +2764,17 @@ declare interface NMRZoneWithIds extends Omit<NMRZone, 'signals' | 'id'> {
|
|
|
2765
2764
|
*/
|
|
2766
2765
|
export declare function normalizeNucleus(nucleus: string): string;
|
|
2767
2766
|
|
|
2768
|
-
export { Nuclei }
|
|
2769
|
-
|
|
2770
|
-
export declare type Nucleus = Nuclei | `${Nuclei},${Nuclei}` | (string & Record<never, never>);
|
|
2771
|
-
|
|
2772
|
-
declare type Nucleus_2 = Nuclei | (string & Record<never, never>);
|
|
2773
|
-
|
|
2774
2767
|
declare interface NumberField extends Field<number> {
|
|
2775
2768
|
type: 'number';
|
|
2776
2769
|
}
|
|
2777
2770
|
|
|
2778
2771
|
declare type ObjectKeys = 'id' | 'multiplicity' | 'js';
|
|
2779
2772
|
|
|
2780
|
-
export declare interface
|
|
2773
|
+
export declare interface ObservedNucleusData {
|
|
2781
2774
|
/**
|
|
2782
2775
|
* nucleus to use as reference in the calculation of frequency
|
|
2783
2776
|
*/
|
|
2784
|
-
nucleus:
|
|
2777
|
+
nucleus: string;
|
|
2785
2778
|
/**
|
|
2786
2779
|
* frequency of the reference nucleus
|
|
2787
2780
|
*/
|