0

I am working on a few signal processing concepts. And I prefer to use Python over MATLAB.

I require the complementary CDF of the Gaussian to model my system. I was able to write MATLAB's qfunc() as:

from scipy import special as sp

def qfunc(arg):
    return 0.5-0.5*sp.erf(arg/1.414)

However, how would I write a similar function for qfuncinv()?

Adriaan
  • 17,741
  • 7
  • 42
  • 75
Abhinav Goel
  • 401
  • 1
  • 6
  • 13
  • [`erfinv`](https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.special.erfinv.html) – jodag Mar 05 '18 at 17:08

1 Answers1

0

Take a look at scipy's stats.norm module, there is a ppf (percent point function) method that's the inverse of the CDF, seems to be just what you need

MrLokans
  • 47
  • 2