neuroprob/utils/stats.py
def q_to_Z(quantiles, LIM=1e-15):
    """
    Inverse transform to Gaussian variables from uniform variables.
    """
    _q = (1. - quantiles)
    _q[_q < LIM] = LIM
    _q[_q > 1.-LIM] = 1.-LIM
    z = scstats.norm.isf(_q)
    return z

    Inverse transform to Gaussian variables from uniform variables.
    
Inverse transform to Gaussian variables from uniform variables.
Inverse transform to Gaussian variables from uniform variables .
def q_to_Z(quantiles, LIM=1e-15):
    _q = (1. - quantiles)
    _q[_q < LIM] = LIM
    _q[_q > 1.-LIM] = 1.-LIM
    z = scstats.norm.isf(_q)
    return z
def q_to_Z ( quantiles , LIM = 1e-15 ) : _q = ( 1. - quantiles ) _q [ _q < LIM ] = LIM _q [ _q > 1. - LIM ] = 1. - LIM z = scstats . norm . isf ( _q ) return z
Inverse transform to Gaussian variables from uniform variables.
Inverse transform to Gaussian variables from uniform variables .
"""
    Inverse transform to Gaussian variables from uniform variables.
    """
quantiles
LIM