functionsmoothing_cosN

Smoothing using a*cos(x)^n base function

Information

Smoothing function as presented in C. RICHTER, “Proposal of New Object-Oriented Equation-Based Model Libraries for Thermodynamic Systems,” Technical University Carolo-Wilhelmina in Braunschweig (2008).


The general solution is a hypergeometric function (http://mathworld.wolfram.com/HypergeometricFunction.html): 2f1. This function exists in scipy and GNU GSL.

Inputs

TypeNameDefaultDescription
RealxValue of interest (i.e. x - x_t)
RealdeltaxTransition width
Integern2(n-1)th order continuous

Outputs

TypeNameDefaultDescription
RealySigmoid result