I'm trying to create a "comfort" function with the following characteristics:
- its domain is $(-\infty, +\infty)$;
- its range is $[0,1]$;
- it is at or near its maximum value ($1$) in some interval $[x_{c}-\delta, x_{c}+\delta]$;
- it is at or near its minimum value ($0$) in the intervals $(-\infty, x_{c}-\delta-\gamma]$ and $[x_{c}+\delta+\gamma, +\infty)$;
- in the interval $(x_{c}-\delta-\gamma, x_{c}-\delta)$ it has behavior similar to the sigmoid function $\dfrac{1}{1 + e^{-x}}$, while in the interval $(x_{c}+\delta, x_{c}+\delta+\gamma)$ similar to the sigmoid function $\dfrac{1}{1 + e^{x}}$;
- it should have tunable parameters to control $\delta$, $\gamma$, and the transition from minimum to maximum value and from maximum to minimum (in the same way that a sigmoid function can be controlled).
Can anybody help? Thank you.