x=gammainccinv(a,y) returns x such that gammaincc(a,x) = y.
scipy.special.gammaincc
scipy.special.beta