fisspy/analysis/wavelet.py
def _chisquareSolve(self,xguess,p,v):
        """
        Chisqure_solve
        
        Return the difference between calculated percentile and P.
        
        Written January 1998 by C. Torrence
        """
        pguess = gammainc(v/2,v*xguess/2)
        pdiff = np.abs(pguess - p)
        if pguess >= 1-1e-4:
            pdiff = xguess
        return pdiff

        Chisqure_solve
        
        Return the difference between calculated percentile and P.
        
        Written January 1998 by C. Torrence
        
Chisqure_solve
Return the difference between calculated percentile and P.

Written January 1998 by C. Torrence
Chisqure_solve Return the difference between calculated percentile and P . Written January 1998 by C . Torrence
def _chisquareSolve(self,xguess,p,v):
        pguess = gammainc(v/2,v*xguess/2)
        pdiff = np.abs(pguess - p)
        if pguess >= 1-1e-4:
            pdiff = xguess
        return pdiff
def _chisquareSolve ( self , xguess , p , v ) : pguess = gammainc ( v / 2 , v * xguess / 2 ) pdiff = np . abs ( pguess - p ) if pguess >= 1 - 1e-4 : pdiff = xguess return pdiff
Chisqure_solve
Return the difference between calculated percentile and P.
Chisqure_solve Return the difference between calculated percentile and P .
"""
        Chisqure_solve
        
        Return the difference between calculated percentile and P.
        
        Written January 1998 by C. Torrence
        """
self
xguess
p
v