smpl.stat.trim_domain

smpl.stat.trim_domain(f, fmin=np.float32(-1.7014117e+38), fmax=np.float32(1.7014117e+38), steps=10000, min_ch=0.0001, recursion_limit=10)[source]

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