nmr-processing 12.8.2 → 12.9.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.
@@ -13,6 +13,7 @@ import { Logger } from 'cheminfo-types';
13
13
  import { Matrix } from 'ml-matrix';
14
14
  import * as matrixPeakFinders from 'ml-matrix-peaks-finder';
15
15
  import { Molecule } from 'openchemlib/full';
16
+ import type { Molecule as Molecule_2 } from 'openchemlib/minimal';
16
17
  import { NmrData1D } from 'cheminfo-types';
17
18
  import { NmrData2D } from 'cheminfo-types';
18
19
  import { NmrData2DContent } from 'cheminfo-types';
@@ -263,6 +264,16 @@ export declare interface CreateSignals2DOptions {
263
264
  maxX: number;
264
265
  }
265
266
 
267
+ export declare function ctParser(sdf: string, csv: string, options: {
268
+ OCL: {
269
+ Molecule: typeof Molecule_2;
270
+ };
271
+ }): {
272
+ molecules: ParsedMolecule[];
273
+ sections: Record<string, any>;
274
+ groups: any[];
275
+ };
276
+
266
277
  export declare type DataBaseLevelStructure = Record<string, [
267
278
  number,
268
279
  number,
@@ -2843,6 +2854,16 @@ declare type ParametersFromOptions = Record<Parameter, Record<string, number | (
2843
2854
 
2844
2855
  declare type ParametersFromSignal = Record<string, Record<string, number>>;
2845
2856
 
2857
+ declare interface ParsedMolecule {
2858
+ atomsMapping: Array<{
2859
+ atom: number;
2860
+ label: string;
2861
+ }>;
2862
+ atomsMappingLookup: Record<string, number>;
2863
+ molfile: string;
2864
+ id: string;
2865
+ }
2866
+
2846
2867
  export declare interface Peak1D extends Omit<NMRPeak1D, 'id'>, BasePeak {
2847
2868
  originalX?: number;
2848
2869
  }