[SciPy-User] soft limiter function

Neal Becker ndbecker2 at gmail.com
Tue Mar 10 10:10:18 EDT 2015


I'm looking for a parameterized set of functions, similar to logistic, where 
a parameter determines the 'sharpness' of the transition from the linear 
region to the flat region.  I need to keep all the same scaling and 
derivative near the origin - so like a family of logistic functions that 
would overlay near the origin, but would become increasingly sharp limiters 
as the parameter was varied.  In the limit, would approach the ideal limiter 

      x |x<1|
y = { 1 x > 1
     -1 x < -1

-- 
Those who fail to understand recursion are doomed to repeat it




More information about the SciPy-User mailing list