SymmetricHermiteInterpolation#
Source: models/common/SymmetricHermiteInterpolation.py
Define the symmetric Hermite interpolation function, taking the form of \(\dfrac{1}{x_h-x_l}(24c^2-32c^3)\) for \(0 le c le 0.5\); \(\dfrac{1}{x_h-x_l} (24(1-c)^2 - 32(1-c)^3)\) for \(0.5 le c le 1\), and 0.0 otherwise. Here, \(c = \frac{x-x_l}{x_h-x_l}\) where \(x_l\) and \(x_h\) are the lower and upper bound for rescaling the input argument.
Inputs#
argument—input·Scalar· requiredArgument of the smooth step function
Outputs#
output—output·ScalarValue of the smooth step function. If not specified, the object name will be used as the output name.
Parameters#
lower_bound—parameter·Scalar· requiredLower bound of the argument
upper_bound—parameter·Scalar· requiredUpper bound of the argument