nmr-processing 12.1.1 → 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 +11 -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;
|
|
@@ -3810,6 +3814,13 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
|
|
|
3810
3814
|
frequency: number;
|
|
3811
3815
|
}
|
|
3812
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
|
+
|
|
3813
3824
|
export declare function xyzAutoSignalsPicking(spectraData: NmrData2DContent, options: XYZAutoSignalsPickingOptions): NMRSignal2DWithID<matrixPeakFinders.Peak2D & {
|
|
3814
3825
|
id: string;
|
|
3815
3826
|
}>[];
|