nmr-processing 12.4.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.
@@ -272,6 +272,7 @@ number
272
272
  ] | undefined>;
273
273
 
274
274
  export declare interface DatabaseNMREntry {
275
+ id: string;
275
276
  ocl?: OCLMolecule;
276
277
  smiles?: string;
277
278
  solvent: string;
@@ -2261,6 +2262,8 @@ export declare interface Jcoupling {
2261
2262
  pathLength?: number;
2262
2263
  }
2263
2264
 
2265
+ declare type JcouplingFromPrediction = MakeMandatory<Jcoupling, 'multiplicity' | 'diaIDs' | 'pathLength'>;
2266
+
2264
2267
  declare interface LabelField extends BaseField {
2265
2268
  type: 'label';
2266
2269
  }
@@ -3379,6 +3382,12 @@ export declare interface Signal1D extends Required<Pick<NMRSignal1D, ObjectKeys>
3379
3382
  originalDelta?: number;
3380
3383
  }
3381
3384
 
3385
+ declare type Signal1DWidthDiaID = MakeMandatory<NMRSignal1D, 'diaIDs'>;
3386
+
3387
+ declare type Signal1DWidthJsAndDiaID = Omit<Signal1DWidthDiaID, 'js'> & {
3388
+ js: JcouplingFromPrediction[];
3389
+ };
3390
+
3382
3391
  export declare interface Signal2D extends Signal_2 {
3383
3392
  sign?: number;
3384
3393
  x: SignalAxis;
@@ -3477,6 +3486,19 @@ declare interface Signals2DToZOptions {
3477
3486
  factor?: number | XYNumber;
3478
3487
  }
3479
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
+
3480
3502
  /**
3481
3503
  * it use the chemical shifts and the coupling between them in order to generate a FID.
3482
3504
  * It does not propagate the hamiltonian of the spin system, instead it simulate all the