1

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,081
  • 7
  • 36
  • 71
Abhinav Goel
  • 363
  • 1
  • 5
  • 12
  • [`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