smpl.stat.trim_domain

smpl.stat.trim_domain(f, fmin=-1.7014117331926443e+38, fmax=1.7014117331926443e+38, steps=10000, min_ch=0.0001, recursion_limit=100)[source]

Get the domain of the function f with the ranges removed where the derivative of f is below min_ch.