nmr-processing 11.3.0 → 11.4.1

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.
@@ -77,6 +77,7 @@ export declare interface ApodizationFilterOptions {
77
77
  * @default true
78
78
  */
79
79
  apply?: boolean;
80
+ windowData?: Float64Array;
80
81
  }
81
82
 
82
83
  export declare interface ApodizationOptions {
@@ -386,7 +387,7 @@ export { FiltersManager }
386
387
  */
387
388
  export declare function findMultiplet(name: string): MultipletDefinition | undefined;
388
389
 
389
- declare type FlexibleWindowFunctions = Exponential<Partial<ExponentialOptions>> | LorentToGauss<Partial<LorentzToGaussOptions>> | SineBell<Partial<SineBellOptions>>;
390
+ declare type FlexibleWindowFunctions = Exponential<Partial<ExponentialOptions>> | LorentToGauss<Partial<LorentzToGaussOptions>> | SineBell<Partial<SineBellOptions>> | Traf<Partial<TrafOptions>>;
390
391
 
391
392
  export declare interface ForwardLPOptions {
392
393
  /**
@@ -3559,6 +3560,27 @@ export declare interface SumOptions {
3559
3560
 
3560
3561
  export declare type Targets = Record<string, NMRRangeWithIntegration>;
3561
3562
 
3563
+ declare interface Traf<ShapeOption = TrafOptions> {
3564
+ kind: 'traf';
3565
+ options: ShapeOption;
3566
+ }
3567
+
3568
+ declare interface TrafOptions {
3569
+ /**
3570
+ * line broadening value in Hz, a negative value will invert the shape
3571
+ * @default 0.3
3572
+ */
3573
+ lb?: number;
3574
+ /**
3575
+ * increment value in time or the independent value
3576
+ */
3577
+ dw: number;
3578
+ /**
3579
+ * Specifies the number of points in the window function.
3580
+ */
3581
+ length: number;
3582
+ }
3583
+
3562
3584
  /**
3563
3585
  * convert from pattern name to only one letter abbreviation or any supported abbreviation to pattern name.
3564
3586
  * @param name - pattern name or abbreviation.
@@ -3593,7 +3615,7 @@ declare function unlink(range: Range_2, options?: UnlinkOptions): Range_2;
3593
3615
 
3594
3616
  export declare function updateRangesRelativeValues(spectrum: Entry1D, forceCalculateIntegral?: boolean): void;
3595
3617
 
3596
- declare type WindowFunctions = Exponential | LorentToGauss | SineBell;
3618
+ declare type WindowFunctions = Exponential | LorentToGauss | SineBell | Traf;
3597
3619
 
3598
3620
  /**
3599
3621
  * Predict back points by singular value decomposition.