Additional Fitting models¶
The Stoner package contains several pre-build fitting models that are provided as individual
functions for use with Stoner.Data.curve_fit()
and lmfit.Model
classes.Additional
The latter also support the ability to determine an initial value of the parameters from the Data
and so can simplify the fitting code considerably. Many of the models come with an example function.
Generic Modles¶
Stoner.analysis.fitting.models.generic Module¶
lmfit.Model
model classes and functions for various generic models.
Functions¶
|
Calculate a linear function. |
|
Implement a differential form of a Lorentzian peak. |
|
Power Law Fitting Equation. |
|
Calculate a simple quadratic fitting function. |
|
Calculate a stretched exponential fuinction. |
Classes¶
|
Simple linear fit class. |
|
Provides a lmfit Model rerprenting the differential form of a Lorentzian Peak. |
|
Create a model from a user-supplied model function. |
|
Power Law Fitting Equation. |
|
A Simple quadratic fitting function. |
|
A stretched exponential fuinction. |
Thermal Physics models¶
Stoner.analysis.fitting.models.thermal Module¶
lmfit.Model
model classes and functions for various thermal physics models.
Functions¶
|
Arrhenius Equation without T dependent prefactor. |
|
Arrhenius Equation with a variable T power dependent prefactor. |
|
Arrhenius Equation without T dependent prefactor for various dimensions. |
|
Vogel-Flucher-Tammann (VFT) Equation without T dependent prefactor. |
Classes¶
|
Arrhenius Equation without T dependent prefactor. |
|
Arrhenius Equation with a variable T power dependent prefactor. |
|
Create a model from a user-supplied model function. |
|
Arrhenius Equation without T dependent prefactor for various dimensions. |
|
Vogel-Flucher-Tammann (VFT) Equation without T dependent prefactor. |
Electron Tunnelling models¶
Stoner.analysis.fitting.models.tunnelling Module¶
lmfit.Model
model classes and functions for various models of electron tunnelling.
Functions¶
|
BDR model tunnelling. |
|
Fowler Nordhiem Model of electron tunnelling. |
|
Simmons model of electron tunnelling. |
|
Tersoff-Hamman model for tunnelling through STM tip. |
Classes¶
|
BDR model tunnelling. |
|
Fowler Nordhiem Model of electron tunnelling. |
|
Create a model from a user-supplied model function. |
|
Simmons model of electron tunnelling. |
|
Tersoff-Hamman model for tunnelling through STM tip. |
Other Electron Transpoort models¶
Stoner.analysis.fitting.models.e_transport Module¶
Model classes and functions for various models of electron transport (other than tunnelling processes).
Functions¶
|
Calculate the BlochGrueneiseen Function for fitting R(T). |
|
Evaluate a Fluchs-Sondheumer model function for conductivity. |
|
Implement the Weak localisation fitting function. |
Classes¶
|
BlochGrueneiseen Function for fitting R(T). |
|
Evaluate a Fluchs-Sondheumer model function for conductivity. |
|
Weak localisation model class. |
Magnetism and Magnetic Materials models¶
Stoner.analysis.fitting.models.magnetism Module¶
lmfit.Model
model classes and functions for various magnetism and magnetic materials models.
Functions¶
|
Bloch's law for spontaneous magnetism at low temperatures. |
|
Combine a Lorentzian and differential Lorenztion peak as measured in an FMR experiment. |
|
Rewritten Kittel equation for finding ferromagnetic resonsance in field with frequency. |
|
Kittel Equation for finding ferromagnetic resonance peak in frequency with field. |
|
Langevin function for paramagnetic M-H loops. |
Classes¶
|
Bloch's law for spontaneous magnetism at low temperatures. |
|
Combine a Lorentzian and differential Lorenztion peak as measured in an FMR experiment. |
|
Kittel Equation for finding ferromagnetic resonance peak in frequency with field. |
|
Kittel Equation for finding ferromagnetic resonance peak in frequency with field. |
|
The Langevin function for paramagnetic M-H loops. |
superconductivity models¶
Stoner.analysis.fitting.models.superconductivity Module¶
lmfit.Model
model classes and functions for various superconductivity related models.
Functions¶
|
Implement a simple noiseless RSJ model. |
|
Implement a simple noiseless symmetric RSJ model. |
|
Strijkers Model for point-contact Andreev Reflection Spectroscopy. |
|
Calculate Critical Current for a round Josepshon Junction wrt to Field. |
Classes¶
|
Implement a simple noiseless RSJ model. |
|
Implements a simple noiseless symmetric RSJ model. |
|
strijkers Model for point-contact Andreev Reflection Spectroscopy. |
|
Critical Current for a round Josepshon Junction wrt to Field. |