stretchedExp

Stoner.analysis.fitting.models.generic.stretchedExp(x, A, beta, x_0)[source]

Calculate a stretched exponential fuinction.

Parameters
  • x (array) – x data values

  • A (float) – Constant prefactor

  • beta (float) – Stretch factor

  • x_0 (float) – Scaling factor for x data

Returns

Data for a stretched exponentional function.

The stretched exponential is defined as \(y=A\exp\left[\left(\frac{-x}{x_0}\right)^\beta\right]\).