def toNorm(raw):
 return np.power(MAX_NORM, (raw * NORM_RATIO))

def toNorm ( raw ) : return np . power ( MAX_NORM , ( raw * NORM_RATIO ) )
convert raw iosync analog input from lux meter to psychopy norm grayscale value .