def asignaltonoise(instack,dimension=0):
    m = mean(instack,dimension)
    sd = stdev(instack,dimension)
    return N.where(sd==0,0,m/sd)
Make a file readable by all.
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/asignaltonoise--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/train_extensions/plots.py/make_readable