lib/redred.py
def norm_to_pump(dataDict):
    """ Divide all curves in dataDict by it's pump power value"""
    dataDictNorm = dataDict
    norm = []
    for key in dataDict:
        norm = dataDict[key]['data'][1] / dataDict[key]['Pump Power']#dataDict[key]['Pump Power']
        #rest = norm-dataDict[key]['data'][1][1]
        dataDictNorm[key]['data'][1] = norm
        #print('rest:  '+str(rest))

    return(dataDictNorm)
 Divide all curves in dataDict by it's pump power value
Divide all curves in dataDict by it's pump power value
Divide all curves in dataDict by it ' s pump power value
def norm_to_pump(dataDict):
    dataDictNorm = dataDict
    norm = []
    for key in dataDict:
        norm = dataDict[key]['data'][1] / dataDict[key]['Pump Power']
        dataDictNorm[key]['data'][1] = norm
    return(dataDictNorm)
def norm_to_pump ( dataDict ) : dataDictNorm = dataDict norm = [ ] for key in dataDict : norm = dataDict [ key ] [ 'data' ] [ 1 ] / dataDict [ key ] [ 'Pump Power' ] dataDictNorm [ key ] [ 'data' ] [ 1 ] = norm return ( dataDictNorm )
Divide all curves in dataDict by it's pump power value
Divide all curves in dataDict by it ' s pump power value
""" Divide all curves in dataDict by it's pump power value""" #dataDict[key]['Pump Power'] #rest = norm-dataDict[key]['data'][1][1] #print('rest:  '+str(rest))
dataDict