def calc_mean_std(c0, c1=[], nonStdZero=False):
    """ Calculates both the mean of the data. """
    mi = calc_mean(c0, c1)
    std = calc_std(c0, c1)
    if (nonStdZero):
        std[std == 0] = 1

    return mi, std
def calc_mean_std ( c0 , c1 = [ ] , nonStdZero = False ) : mi = calc_mean ( c0 , c1 ) std = calc_std ( c0 , c1 ) if ( nonStdZero ) : std [ std == 0 ] = 1 return mi , std
Calculates both the mean of the data.