nmr-processing 12.6.0 → 12.7.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 +1 -1
- package/nmr-processing.d.ts +22 -3
- package/nmr-processing.mjs +1 -1
- package/package.json +4 -1
package/nmr-processing.d.ts
CHANGED
|
@@ -601,6 +601,12 @@ export declare interface GetAutoAssignmentInput {
|
|
|
601
601
|
*/
|
|
602
602
|
export declare function getBaselineZones(data: NmrData1D, options?: BaselineZoneOptions): BaselineCorrectionZone[];
|
|
603
603
|
|
|
604
|
+
/**
|
|
605
|
+
* Generate baseline zones by Dietrich method, it uses an iterative thresholding to discard signals zones over a power spectrum.
|
|
606
|
+
* the implementation is based on the publication of Cobas et al (DOI: {@link https://doi.org/10.1016/j.jmr.2006.07.013})
|
|
607
|
+
*/
|
|
608
|
+
export declare function getBaselineZonesByDietrich(data: NmrData1D): BaselineCorrectionZone[];
|
|
609
|
+
|
|
604
610
|
export declare function getDatabase(url?: string, options?: {
|
|
605
611
|
/**
|
|
606
612
|
* @default 'tsv'
|
|
@@ -649,6 +655,17 @@ export declare interface GetPeakListOptions extends GSDOptions, OptimizePeaksOpt
|
|
|
649
655
|
maxAbsDdY?: number;
|
|
650
656
|
}
|
|
651
657
|
|
|
658
|
+
/**
|
|
659
|
+
* Prediction cache function that saves and loads predictions from the file system.
|
|
660
|
+
* @param cacheFolder
|
|
661
|
+
* @returns
|
|
662
|
+
*/
|
|
663
|
+
export declare function getPredictionFSCache(cacheFolder: string, options?: GetPredictionFSCacheOptions): PredictionCacheFn;
|
|
664
|
+
|
|
665
|
+
declare interface GetPredictionFSCacheOptions {
|
|
666
|
+
throwIfNotInCache?: boolean;
|
|
667
|
+
}
|
|
668
|
+
|
|
652
669
|
export declare function getShiftX(spectrum: Entry1D): number;
|
|
653
670
|
|
|
654
671
|
export declare const impurities: SolventImpurities;
|
|
@@ -2931,7 +2948,7 @@ export declare interface PolynomialOptions {
|
|
|
2931
2948
|
}
|
|
2932
2949
|
|
|
2933
2950
|
/**
|
|
2934
|
-
* Generate the correlation
|
|
2951
|
+
* Generate the 2D correlation nmr peaks based on the number of bonds between a pair of atoms
|
|
2935
2952
|
* @returns {Promise<object>} - object with molfile, diaIDs, 1D and 2D signals, joined signals, ranges and zones.
|
|
2936
2953
|
*/
|
|
2937
2954
|
export declare function predict(molecule: Molecule, options?: PredictAllOptions): Promise<Predicted>;
|
|
@@ -2973,7 +2990,8 @@ export declare interface PredictCarbonOptions {
|
|
|
2973
2990
|
*/
|
|
2974
2991
|
maxSphereSize?: number;
|
|
2975
2992
|
/**
|
|
2976
|
-
* Predictor function.
|
|
2993
|
+
* Predictor function that will use by default: 'https://nmr-prediction.service.zakodium.com/v1/predict/carbon'
|
|
2994
|
+
* @default defaultCarbonPredictor
|
|
2977
2995
|
*/
|
|
2978
2996
|
predictor?: PredictorFn;
|
|
2979
2997
|
/**
|
|
@@ -3155,7 +3173,8 @@ declare type PredictorFn = (topicMolecule: TopicMolecule) => Promise<PredictionB
|
|
|
3155
3173
|
|
|
3156
3174
|
export declare interface PredictProtonOptions {
|
|
3157
3175
|
/**
|
|
3158
|
-
* Predictor function.
|
|
3176
|
+
* Predictor function. Will use by default webservice: https://nmr-prediction.service.zakodium.com/v1/predict/proton
|
|
3177
|
+
* @default defaultProtonPredictor
|
|
3159
3178
|
*/
|
|
3160
3179
|
predictor?: PredictorFn;
|
|
3161
3180
|
/**
|