nmr-processing 12.1.0 → 12.2.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 +12 -0
- package/nmr-processing.mjs +1 -1
- package/package.json +1 -1
package/nmr-processing.d.ts
CHANGED
|
@@ -100,6 +100,10 @@ declare interface ApplyFilterOptions {
|
|
|
100
100
|
|
|
101
101
|
declare type AtomTypes = 'H' | 'C';
|
|
102
102
|
|
|
103
|
+
export declare interface AutoPhaseCorrection2D {
|
|
104
|
+
threshold?: number;
|
|
105
|
+
}
|
|
106
|
+
|
|
103
107
|
export declare interface AutoPhaseCorrectionOptions {
|
|
104
108
|
minRegSize?: number;
|
|
105
109
|
maxDistanceToJoin?: number;
|
|
@@ -2780,6 +2784,7 @@ declare interface OptionsXYAutoRangesPicking {
|
|
|
2780
2784
|
peakPicking: OptionsXYAutoPeaksPicking;
|
|
2781
2785
|
impurities?: OptionsPeaksFilterImpurities;
|
|
2782
2786
|
ranges?: OptionsPeaksToRanges;
|
|
2787
|
+
logger?: Logger;
|
|
2783
2788
|
}
|
|
2784
2789
|
|
|
2785
2790
|
declare type Parameter = 'delta' | 'intensity' | 'fwhm' | 'mu' | 'coupling';
|
|
@@ -3809,6 +3814,13 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
3809
3814
|
frequency: number;
|
|
3810
3815
|
}
|
|
3811
3816
|
|
|
3817
|
+
/**
|
|
3818
|
+
* Bidimensional automatic phase correction, based in the idea to see the spectrum as a bitmap,
|
|
3819
|
+
* where the number of white pixels will be bigger in a phased spectrum (whitening concept). Further information can be found in the
|
|
3820
|
+
* publication of Balacco and Cobas (DOI: {@link https://doi.org/10.1002/mrc.2394}). This method use a incremental search instead of simplex algorithm.
|
|
3821
|
+
*/
|
|
3822
|
+
export declare function xyzAutoPhaseCorrection(data: NmrData2DFt, options?: AutoPhaseCorrection2D): Required<PhaseCorrectionTwoDOptions>;
|
|
3823
|
+
|
|
3812
3824
|
export declare function xyzAutoSignalsPicking(spectraData: NmrData2DContent, options: XYZAutoSignalsPickingOptions): NMRSignal2DWithID<matrixPeakFinders.Peak2D & {
|
|
3813
3825
|
id: string;
|
|
3814
3826
|
}>[];
|