SciPy

scipy.special.ncfdtridfn

scipy.special.ncfdtridfn(p, f, dfd, nc) = <ufunc 'ncfdtridfn'>

Calculate degrees of freedom (numerator) for the noncentral F-distribution.

See ncfdtr for more details.