# Derivation of FWHM and Height for Peak Fitting Functions

Last Edit: 29 Nov 2017 | Learning- Gaussian (Normal distribution)
- Lorentzian
- Voigt
- Pseudo Voigt
- Moffat
- Pearson 7
- Students T
- Breit-Wigner-Fano
- Lognormal
- Damped Oscillator
- Damped Harmonic Oscillator
- Exponential Gaussian
- Skewed Gaussian
- Donaich Sunjic (photo-emission)

## Gaussian (Normal distribution)

A = amplitude, = center, and = sigma (see Wikipedia for more info)

### Gaussian Height

Max height occurs at x =

### Gaussian FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Lorentzian

A = amplitude, = center, and = sigma (see Wikipedia for more info)

### Lorentzian Height

Max height occurs at x =

### Lorentzian FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Voigt

A = amplitude, = center, = sigma, and = gamma (see Wikipedia for more info)

where

`erfc`

is the complimentary error function. As above,

### Voigt Height

Max height occurs at x =

### Voigt FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

Hmmm IDK where to go from here.

## Pseudo Voigt

A = amplitude, = center, = sigma, and = fraction (see Wikipedia for more info)

where so that the full width at half maximum of each component and of the sum is

### Pseudo Voigt Height

Max height occurs at x =

### Pseudo Voigt FWHM

The definition of the function depends on FWHM=2.

Please see derivations of Gaussian and Lorentzian.

## Moffat

A = amplitude, = center, = sigma, and = beta (see Wikipedia for more info)

### Moffat Height

Max height occurs at x =

### Moffat FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Pearson 7

A = amplitude, = center, = sigma, and = exponent (see wikipedia for more info)

where is the beta function

### Pearson 7 Height

Max height occurs at x =

### Pearson 7 FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Students T

A = amplitude, = center, and = sigma (see Wikipedia for more info)

where is the gamma function.

### Students T Height

Max height occurs at x =

### Students T FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Breit-Wigner-Fano

A = amplitude, = center, = sigma, and = exponent (see Wikipedia for more info)

### Breit-Wigner-Fano Height

Max height occurs at x =

### Breit-Wigner-Fano FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

## Lognormal

A = amplitude, = center, and = sigma (see Wikipedia for more info)

### Lognormal Height

Max height occurs at x =

### Lognormal FWHM

FWHM is found by finding the values of x at 1/2 the max height.

## Damped Oscillator

A = amplitude, = center, and = sigma (see Wikipedia for more info)

### Damped Oscillator Height

Max height occurs at x =

### Damped Oscillator FWHM

FWHM is found by finding the values of x at 1/2 the max height.

Substitute

Substitute back

Two peaks each with a FWHM of:

## Damped Harmonic Oscillator

A = amplitude, = center, = sigma, and = gamma (see Wikipedia and DAVE/PAN for more info)

### DHO Height

Max height occurs at x = .

### DHO FWHM

FWHM is found by finding the values of x at 1/2 the max height.

Hmmm IDK where to go from here.

But as defined in DAVE/PAN:

## Exponential Gaussian

A = amplitude, = center, = sigma, and = gamma (see [Wikipedia(http://en.wikipedia.org/wiki/Exponentially_modified_Gaussian_distribution)

where :func:`erfc`

is the complimentary error function.

### Exponential Gaussian Height

Max height occurs at x =

### Exponential Gaussian FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

Hmmm IDK where to go from here.

But by observation:

## Skewed Gaussian

A = amplitude, = center, = sigma, and = gamma (see Wikipedia for more info)

where :func:`erf`

is the error function.

### Skewed Gaussian Height

Max height occurs at x =

### Skewed Gaussian FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

Hmmm IDK where to go from here.

But by observation:

## Donaich Sunjic (photo-emission)

A = amplitude, = center, = sigma, and = gamma (see Casaxps for more info)

### Donaich Sunjic Height

Max height occurs at x =

### Donaich Sunjic FWHM

FWHM is found by finding the values of x at 1/2 the max height. For simplicity can be set to 0.

Hmmm IDK where to go from here.

## Comments