EndErfc

Description

This is a fitting function that makes use of the complementary error function for detector-tube calibration

The function f(x)=A \cdot erfc(\frac{B-x}{C}) + D with the following constraints:

  • D \geq 0
  • f(x) = -2A if A<0

Properties (fitting parameters)

Name Default Description
A 2000.0 Half value at minus infinity minus half value at plus infinity
B 50.0 Mid x value
C 6.0 Width parameter
D 0.0 Minimum value - must not be negative

Categories: FitFunctions | Calibrate

Source

C++ source: EndErfc.cpp

C++ header: EndErfc.h