lib/transient.py
def normalize_to_parameter(self, parameter):
        """ Normalize scan by dividing by its pump power value"""
        if getattr(self, parameter):
            if getattr(self, parameter) != 0:
                self.trace = self.trace / getattr(self, parameter)
        else:
            print('Normalization failed: invalid parameter name')
        logkey = 'Normalized by ' + parameter.replace('_', ' ')
        self.log_it(logkey)
 Normalize scan by dividing by its pump power value
Normalize scan by dividing by its pump power value
Normalize scan by dividing by its pump power value
def normalize_to_parameter(self, parameter):
        if getattr(self, parameter):
            if getattr(self, parameter) != 0:
                self.trace = self.trace / getattr(self, parameter)
        else:
            print('Normalization failed: invalid parameter name')
        logkey = 'Normalized by ' + parameter.replace('_', ' ')
        self.log_it(logkey)
def normalize_to_parameter ( self , parameter ) : if getattr ( self , parameter ) : if getattr ( self , parameter ) != 0 : self . trace = self . trace / getattr ( self , parameter ) else : print ( 'Normalization failed: invalid parameter name' ) logkey = 'Normalized by ' + parameter . replace ( '_' , ' ' ) self . log_it ( logkey )
Normalize scan by dividing by its pump power value
Normalize scan by dividing by its pump power value
""" Normalize scan by dividing by its pump power value"""
self
parameter