x=chdtri(v,p) returns the argument x such that chdtrc(v,x) is equal to p.
scipy.special.chdtrc
scipy.special.ndtr