def normalize(mylist, max_value):
    normlist = []
    max_in_list = numpy.max(mylist)
    for d in mylist:
        normlist.append(d*float(max_value)/float(max_in_list))
    return normlist
Rescales the values of an array to be in the range (-max_value, max_value).
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/normalize