nmr-processing 14.0.6 → 15.0.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 +3 -3
- package/nmr-processing.d.ts +25 -6
- package/nmr-processing.mjs +3 -3
- package/package.json +3 -2
package/nmr-processing.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { AnalizeMultipletOptions } from 'multiplet-analysis';
|
|
1
2
|
import { BaseRegression } from 'ml-regression-base';
|
|
3
|
+
import { DataXReIm } from 'ml-spectra-processing';
|
|
2
4
|
import { DataXY } from 'cheminfo-types';
|
|
3
5
|
import { DoubleArray } from 'cheminfo-types';
|
|
4
6
|
import { ExponentialRegression } from 'ml-regression-exponential';
|
|
@@ -396,6 +398,8 @@ export declare interface DataResurrect {
|
|
|
396
398
|
parts: string[];
|
|
397
399
|
}
|
|
398
400
|
|
|
401
|
+
export declare type DataXReOptionalIm = Omit<DataXReIm, 'im'> & Partial<Pick<DataXReIm, 'im'>>;
|
|
402
|
+
|
|
399
403
|
export declare const DatumKind: {
|
|
400
404
|
signal: string;
|
|
401
405
|
mixed: string;
|
|
@@ -1693,22 +1697,23 @@ export declare interface PredictCarbonOptions {
|
|
|
1693
1697
|
declare interface PredictCOSYOptions {
|
|
1694
1698
|
/**
|
|
1695
1699
|
* maximum number of bonds to take into account.
|
|
1696
|
-
* @default 3
|
|
1697
1700
|
*/
|
|
1698
1701
|
maxLength?: number;
|
|
1699
1702
|
/**
|
|
1700
1703
|
* minimum number of bonds to take into account
|
|
1701
|
-
* @default 2
|
|
1702
1704
|
*/
|
|
1703
1705
|
minLength?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* minimum scalar coupling in Hz to draw the cross-peak
|
|
1708
|
+
* @default 1.5
|
|
1709
|
+
*/
|
|
1710
|
+
minCoupling?: number;
|
|
1704
1711
|
/**
|
|
1705
1712
|
* signals with euclidean distance in ppm less than this it will
|
|
1706
1713
|
* joined into a zone.
|
|
1707
|
-
* @default {H:0.05,C:0.5}
|
|
1708
1714
|
*/
|
|
1709
1715
|
joinDistance?: {
|
|
1710
1716
|
H: number;
|
|
1711
|
-
C: number;
|
|
1712
1717
|
};
|
|
1713
1718
|
/**
|
|
1714
1719
|
* mono dimensional signal to generate the bidimenionals cross peaks.
|
|
@@ -1763,7 +1768,6 @@ declare interface PredictHMBCOptions {
|
|
|
1763
1768
|
/**
|
|
1764
1769
|
* signals with euclidean distance in ppm less than this it will
|
|
1765
1770
|
* joined into a zone.
|
|
1766
|
-
* @default {H:0.05,C:0.5}
|
|
1767
1771
|
*/
|
|
1768
1772
|
joinDistance?: {
|
|
1769
1773
|
H: number;
|
|
@@ -1846,7 +1850,7 @@ export declare interface PredictionBase2D {
|
|
|
1846
1850
|
* or an empty value (empty string, null, or undefined) if no cache entry is found.
|
|
1847
1851
|
* When the function is called with two parameters, the second parameter is the value that should be put in the cache.
|
|
1848
1852
|
*/
|
|
1849
|
-
declare type PredictionCacheFn = (
|
|
1853
|
+
declare type PredictionCacheFn = (topicMolecule: TopicMolecule, result?: PredictionBase1D) => CacheResult;
|
|
1850
1854
|
|
|
1851
1855
|
export declare interface PredictionOptionsByExperiment {
|
|
1852
1856
|
H?: Partial<PredictProtonOptions>;
|
|
@@ -2575,6 +2579,21 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
2575
2579
|
predicted: Float64Array;
|
|
2576
2580
|
};
|
|
2577
2581
|
|
|
2582
|
+
export declare interface XreimMultipletAnalysis {
|
|
2583
|
+
analyzer?: AnalizeMultipletOptions;
|
|
2584
|
+
autoPhase?: boolean;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Determination of J couplings by recursive deconvolution in the frequency domain,
|
|
2589
|
+
* it use the method published by Damien Jeannerat and Geoffrey Bodenhausen @link{https://doi.org/10.1006/jmre.1999.1845}
|
|
2590
|
+
*/
|
|
2591
|
+
export declare function xreimMultipletAnalysis(
|
|
2592
|
+
/**
|
|
2593
|
+
* Imaginary data is optional for auto phase correction of the region before the analysis.
|
|
2594
|
+
*/
|
|
2595
|
+
data: DataXReOptionalIm, options?: XreimMultipletAnalysis): any;
|
|
2596
|
+
|
|
2578
2597
|
export declare function xyAutoPeaksPicking(data: DataXY<Float64Array>, options: OptionsXYAutoPeaksPicking): NMRPeak1DWithShapeID[];
|
|
2579
2598
|
|
|
2580
2599
|
/**
|