Functions
calculateGaussian2DHeight
- calculateGaussian2DHeight(options?: CalculateGaussian2DHeightOptions): number
Parameters
options: CalculateGaussian2DHeightOptions = {}
Returns number
calculateGaussianHeight
- calculateGaussianHeight(options: CalculateGaussianHeightOptions): number
Parameters
options: CalculateGaussianHeightOptions
Returns number
calculateLorentzianHeight
- calculateLorentzianHeight(__namedParameters: Object): number
Parameters
__namedParameters: Object
Returns number
calculatePseudoVoigtHeight
- calculatePseudoVoigtHeight(options?: CalculatePseudoVoightHeightOptions): number
Parameters
options: CalculatePseudoVoightHeightOptions = {}
Returns number
gaussian2DFct
- gaussian2DFct(x: number, y: number, xFWHM: number, yFWHM: number): number
Parameters
x: number
y: number
xFWHM: number
yFWHM: number
Returns number
gaussianFct
- gaussianFct(x: number, fwhm: number): number
gaussianFwhmToWidth
- gaussianFwhmToWidth(fwhm: number): number
gaussianWidthToFWHM
- gaussianWidthToFWHM(width: number): number
getGaussian2DData
Parameters
options: GetData2DOptions = {}
Returns any[]
getGaussianArea
- getGaussianArea(options: GetGaussianAreaOptions): number
Parameters
options: GetGaussianAreaOptions
Returns number
getGaussianData
Parameters
options: GetData1DOptions = {}
Returns Float64Array
getGaussianFactor
- getGaussianFactor(area?: number): number
getLorentzianArea
- getLorentzianArea(options: GetLorentzianAreaOptions): number
Parameters
options: GetLorentzianAreaOptions
Returns number
getLorentzianData
Parameters
options: GetData1DOptions = {}
Returns Float64Array
getLorentzianFactor
- getLorentzianFactor(area?: number): number
getPseudoVoigtArea
- getPseudoVoigtArea(options: GetPseudoVoigtAreaOptions): number
Parameters
options: GetPseudoVoigtAreaOptions
Returns number
getPseudoVoigtData
Parameters
options: GetData1DOptions = {}
Returns Float64Array
getPseudoVoigtFactor
- getPseudoVoigtFactor(area?: number, mu?: number): number
Parameters
area: number = 0.9999
mu: number = 0.5
Returns number
lorentzianFct
- lorentzianFct(x: number, fwhm: number): number
lorentzianFwhmToWidth
- lorentzianFwhmToWidth(fwhm: number): number
lorentzianWidthToFWHM
- lorentzianWidthToFWHM(width: number): number
pseudoVoigtFct
- pseudoVoigtFct(x: number, fwhm: number, mu: number): number
Parameters
x: number
fwhm: number
mu: number
Returns number
pseudoVoigtFwhmToWidth
- pseudoVoigtFwhmToWidth(fwhm: number, mu?: number): number
Parameters
fwhm: number
mu: number = 0.5
Returns number
pseudoVoigtWidthToFWHM
- pseudoVoigtWidthToFWHM(width: number, mu?: number): number
Parameters
width: number
mu: number = 0.5
Returns 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)