nmr-processing 12.8.0 → 12.8.2

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.
@@ -605,7 +605,9 @@ export declare function getBaselineZones(data: NmrData1D, options?: BaselineZone
605
605
  * Generate baseline zones by Dietrich method, it uses an iterative thresholding to discard signals zones over a power spectrum.
606
606
  * the implementation is based on the publication of Cobas et al (DOI: {@link https://doi.org/10.1016/j.jmr.2006.07.013})
607
607
  */
608
- export declare function getBaselineZonesByDietrich(data: NmrData1D): BaselineCorrectionZone[];
608
+ export declare function getBaselineZonesByDietrich(data: NmrData1D, options?: {
609
+ maxDistanceToJoin?: number;
610
+ }): BaselineCorrectionZone[];
609
611
 
610
612
  export declare function getDatabase(url?: string, options?: {
611
613
  /**
@@ -2341,18 +2343,18 @@ export declare function mapRanges(ranges: Range_2[] | NMRRange[], spectrum: Entr
2341
2343
  delta: number;
2342
2344
  multiplicity: string;
2343
2345
  js: Jcoupling[];
2344
- atoms?: number[];
2345
- assignment?: string;
2346
- diaIDs?: string[];
2347
- nbAtoms?: number;
2348
- integration?: number;
2346
+ atoms?: number[] | undefined;
2347
+ assignment?: string | undefined;
2348
+ diaIDs?: string[] | undefined;
2349
+ nbAtoms?: number | undefined;
2350
+ integration?: number | undefined;
2349
2351
  statistic?: {
2350
2352
  mean: number;
2351
2353
  sd: number;
2352
2354
  min: number;
2353
2355
  max: number;
2354
2356
  nb: number;
2355
- };
2357
+ } | undefined;
2356
2358
  kind: string;
2357
2359
  id: string;
2358
2360
  peaks: {
@@ -2373,10 +2375,10 @@ export declare function mapRanges(ranges: Range_2[] | NMRRange[], spectrum: Entr
2373
2375
  kind: string;
2374
2376
  integration: number;
2375
2377
  nbAtoms?: number;
2376
- multiplicity?: string;
2377
- assignment?: string;
2378
- diaIDs?: string[];
2379
- pubIntegral?: number;
2378
+ multiplicity?: string | undefined;
2379
+ assignment?: string | undefined;
2380
+ diaIDs?: string[] | undefined;
2381
+ pubIntegral?: number | undefined;
2380
2382
  }[];
2381
2383
 
2382
2384
  export declare function mapZones(zones: Zone[], datum: Entry2D, options?: MapOptions): {