nmr-processing 12.5.0 → 12.6.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 +21 -0
- package/nmr-processing.mjs +1 -1
- package/package.json +5 -4
package/nmr-processing.d.ts
CHANGED
|
@@ -2262,6 +2262,8 @@ export declare interface Jcoupling {
|
|
|
2262
2262
|
pathLength?: number;
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
|
+
declare type JcouplingFromPrediction = MakeMandatory<Jcoupling, 'multiplicity' | 'diaIDs' | 'pathLength'>;
|
|
2266
|
+
|
|
2265
2267
|
declare interface LabelField extends BaseField {
|
|
2266
2268
|
type: 'label';
|
|
2267
2269
|
}
|
|
@@ -3380,6 +3382,12 @@ export declare interface Signal1D extends Required<Pick<NMRSignal1D, ObjectKeys>
|
|
|
3380
3382
|
originalDelta?: number;
|
|
3381
3383
|
}
|
|
3382
3384
|
|
|
3385
|
+
declare type Signal1DWidthDiaID = MakeMandatory<NMRSignal1D, 'diaIDs'>;
|
|
3386
|
+
|
|
3387
|
+
declare type Signal1DWidthJsAndDiaID = Omit<Signal1DWidthDiaID, 'js'> & {
|
|
3388
|
+
js: JcouplingFromPrediction[];
|
|
3389
|
+
};
|
|
3390
|
+
|
|
3383
3391
|
export declare interface Signal2D extends Signal_2 {
|
|
3384
3392
|
sign?: number;
|
|
3385
3393
|
x: SignalAxis;
|
|
@@ -3478,6 +3486,19 @@ declare interface Signals2DToZOptions {
|
|
|
3478
3486
|
factor?: number | XYNumber;
|
|
3479
3487
|
}
|
|
3480
3488
|
|
|
3489
|
+
/**
|
|
3490
|
+
* Join signals if all the same diaID
|
|
3491
|
+
*/
|
|
3492
|
+
export declare function signalsJoin(signals: NMRSignal1D[], options?: SignalsJoinOptions): Signal1DWidthJsAndDiaID[];
|
|
3493
|
+
|
|
3494
|
+
export declare interface SignalsJoinOptions {
|
|
3495
|
+
/**
|
|
3496
|
+
* options for signalJoinCouplings
|
|
3497
|
+
* @default {}
|
|
3498
|
+
*/
|
|
3499
|
+
joinCouplings?: SignalJoinCouplingsOptions;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3481
3502
|
/**
|
|
3482
3503
|
* it use the chemical shifts and the coupling between them in order to generate a FID.
|
|
3483
3504
|
* It does not propagate the hamiltonian of the spin system, instead it simulate all the
|