def updatePolarizationFactor(self): if self.rb is not None: self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi(), self.parent.detectorDistance * 1e6) # convert to um if self.parent.args.v >= 1: print "Done updatePolarizationFactor"
def updatePolarizationFactor( self): # FIXME: change to vertical polarization after July 2020 if self.rb is not None: self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi() + 90, self.parent.detectorDistance * 1e6) # convert to um if self.parent.args.v >= 1: print("Done updatePolarizationFactor")
def updatePolarizationFactor(self): self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi(), self.distance * 1e6) # convert to um
def updatePolarizationFactor(self): if self.rb is not None: self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi(), self.parent.detectorDistance*1e6) # convert to um if self.parent.args.v >= 1: print "Done updatePolarizationFactor"
def updatePolarizationFactor(self): # FIXME: handle vertical/horizontal polarization properly self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi() + 90, self.distance * 1e6) # convert to um
def updatePolarizationFactor(self, detectorDistance_in_m): if self.rb is not None: self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi(), detectorDistance_in_m * 1e6) # convert to um
def updatePolarizationFactor(self, detectorDistance_in_m): if self.rb is not None: self.pf = polarization_factor(self.rb.pixel_rad(), self.rb.pixel_phi(), detectorDistance_in_m*1e6) # convert to um