import type { GetData1DOptions } from '../GetData1DOptions.ts'; import type { Shape1DClass, Shape1DDerivative } from '../Shape1DClass.ts'; import type { LorentzianClassOptions } from '../lorentzian/Lorentzian.ts'; import type { LorentzianDispersiveShape1D } from '../shape_1d.ts'; export declare class LorentzianDispersive implements Shape1DClass { readonly kind: "lorentzianDispersive"; /** * Full width at half maximum. * @default 500 */ fwhm: number; constructor(options?: LorentzianClassOptions); fwhmToWidth(fwhm?: number): number; widthToFWHM(width: number): number; fct(x: number): number; getArea(): number; getFactor(area?: number): number; getData(options?: GetData1DOptions): Float64Array; calculateHeight(area?: number): number; getParameters(): LorentzianDispersiveParameter[]; /** * Descriptor of this shape, so `JSON.stringify` round-trips through `getShape1D`. * @returns the shape descriptor. */ toJSON(): LorentzianDispersiveShape1D; derivative(x: number): Shape1DDerivative; } /** Parameters characterizing a dispersive lorentzian shape. */ export type LorentzianDispersiveParameter = 'fwhm'; export declare const lorentzianDispersiveFct: (x: number, fwhm: number) => number; /** * Analytical value and partial derivatives of the dispersive lorentzian function centered at x=0. * @param x - position at which to evaluate. * @param fwhm - full width at half maximum. * @returns the value `fct` and its partial derivatives with respect to `x` (`dx`) and `fwhm` (`dFwhm`). */ export declare function lorentzianDispersiveDerivative(x: number, fwhm: number): { fct: number; dx: number; dFwhm: number; }; export declare const getLorentzianDispersiveData: (shape?: LorentzianClassOptions, options?: GetData1DOptions) => Float64Array; //# sourceMappingURL=LorentzianDispersive.d.ts.map