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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Value of interest (i.e. x - x_t) | |
| Real | deltax | Transition width | |
| Integer | n | 2 | (n-1)th order continuous |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Sigmoid result |