FermiDiracTransitionBaseCore Method |
Returns a value which is 1 for p=0 and is 0 for p=1.
Namespace: Altaxo.Calc.FitFunctions.TransitionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double Core(
double p,
double pc,
double w
)
Parameters
- p Double
- Argument (between 0 and 1).
- pc Double
- Location of the transition (between 0 and 1).
- w Double
- Parameter determing the width of the transition.
Return Value
DoubleA value between 1 (for p=0) and 0 (for p=1).
Remarks
The original formula was y(p)=1/(1+Exp(b*(p-pc)).
This formula has the disadvantage that it is not 1 for p=0 nor 0 for p=1. Thus we use
the modified formula
core(p)=(y(p)-y(1))/(y(0)-y(1)) with the definition above for y(p). Additionally, instead of b, we use w=1/b, because
w is directly related to the width of the transition.
See Also