nmr-processing 19.0.1 → 19.0.3
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/dist/nmr-processing.d.ts +7 -2
- package/dist/nmr-processing.js +2 -2
- package/package.json +18 -19
package/dist/nmr-processing.d.ts
CHANGED
|
@@ -1148,9 +1148,9 @@ export declare function matrixToBoxPlot(input: NumberArray[], options?: {
|
|
|
1148
1148
|
colors?: string[];
|
|
1149
1149
|
}): {
|
|
1150
1150
|
color: (string | undefined)[];
|
|
1151
|
-
median: Float64Array<ArrayBufferLike>;
|
|
1152
1151
|
max: Float64Array<ArrayBufferLike>;
|
|
1153
1152
|
min: Float64Array<ArrayBufferLike>;
|
|
1153
|
+
median: Float64Array<ArrayBufferLike>;
|
|
1154
1154
|
q1: Float64Array<ArrayBufferLike>;
|
|
1155
1155
|
q3: Float64Array<ArrayBufferLike>;
|
|
1156
1156
|
};
|
|
@@ -1286,7 +1286,7 @@ export declare function optimizeSignals(data: DataXY, signals: Signal[], options
|
|
|
1286
1286
|
delta: number;
|
|
1287
1287
|
js: Jcoupling[];
|
|
1288
1288
|
shape: {
|
|
1289
|
-
kind: "gaussian" | "lorentzian" | "pseudoVoigt" | "generalizedLorentzian";
|
|
1289
|
+
kind: "gaussian" | "lorentzian" | "pseudoVoigt" | "lorentzianDispersive" | "generalizedLorentzian";
|
|
1290
1290
|
fwhm: number;
|
|
1291
1291
|
};
|
|
1292
1292
|
intensity: number;
|
|
@@ -2324,6 +2324,11 @@ export declare interface Simulate1DOptions extends SimulateXYPeaksOptions {
|
|
|
2324
2324
|
* Options to add noise to the spectrum
|
|
2325
2325
|
*/
|
|
2326
2326
|
noise?: Extract<GenerateSpectrumOptions, 'noise'>;
|
|
2327
|
+
/**
|
|
2328
|
+
* assume the spin system is a 1/2 (proton), if it's doesn't exists
|
|
2329
|
+
* it is defined by checking if all the levels are 2.
|
|
2330
|
+
*/
|
|
2331
|
+
isProton?: boolean;
|
|
2327
2332
|
}
|
|
2328
2333
|
|
|
2329
2334
|
declare interface SimulateXYPeaksOptions {
|