Options
All
  • Public
  • Public/Protected
  • All
Menu

ml-peak-shape-generator

Index

Type aliases

Shape1DInstance: Gaussian | Lorentzian | PseudoVoigt
Shape2DInstance: Gaussian2D

Functions

  • calculateGaussian2DHeight(options?: CalculateGaussian2DHeightOptions): number
  • calculateGaussianHeight(options: CalculateGaussianHeightOptions): number
  • calculateLorentzianHeight(__namedParameters: Object): number
  • calculatePseudoVoigtHeight(options?: CalculatePseudoVoightHeightOptions): number
  • gaussian2DFct(x: number, y: number, xFWHM: number, yFWHM: number): number
  • gaussianFct(x: number, fwhm: number): number
  • Calculate the height of the gaussian function of a specific width (fwhm) at a speicifc x position (the gaussian is centered on x=0)

    Parameters

    • x: number
    • fwhm: number

    Returns number

    y

  • gaussianFwhmToWidth(fwhm: number): number
  • gaussianWidthToFWHM(width: number): number
  • getGaussianArea(options: GetGaussianAreaOptions): number
  • getGaussianFactor(area?: number): number
  • getLorentzianArea(options: GetLorentzianAreaOptions): number
  • getLorentzianFactor(area?: number): number
  • getPseudoVoigtArea(options: GetPseudoVoigtAreaOptions): number
  • getPseudoVoigtFactor(area?: number, mu?: number): number
  • lorentzianFct(x: number, fwhm: number): number
  • lorentzianFwhmToWidth(fwhm: number): number
  • lorentzianWidthToFWHM(width: number): number
  • pseudoVoigtFct(x: number, fwhm: number, mu: number): number
  • pseudoVoigtFwhmToWidth(fwhm: number, mu?: number): number
  • pseudoVoigtWidthToFWHM(width: number, mu?: number): number