"Sigt":{"Description":"Electronics Noise for Current Transient","Unit":"Nanoseconds [ns]"},
"GSig":{"Description":"Width of Electronics Transfer Function","Unit":"Nanoseconds [ns]"},
"tslow":{"Description":"Time constant of Slow Component of SiPM pulse shape.","Unit":"Nanoseconds [ns]"},
"tfast":{"Description":"Time constant of Fast Component of SiPM pulse shape.","Unit":"Nanoseconds [ns]"},
"rfast":{"Description":"Fraction of Fast Component contribution to SiPM pulse shape.","Unit":None},
"start_tgate":{"Description":"Start time of SiPM Integration Window","Unit":"Nanoseconds [ns]"},
"len_tgate":{"Description":"Duration of SiPM Integration Window","Unit":"Nanoseconds [ns]"},
"t0":{"Description":"Duration before Dark Count Evaluation","Unit":"Nanoseconds [ns]"},
"tl0":{"Description":"Free Parameter 0 for Light Pulse Distribution","Unit":"Nanoseconds [ns]"},
"tl1":{"Description":"Free Parameter 1 for Light Pulse Distribution","Unit":"Nanoseconds [ns]"},
"tl2":{"Description":"Free Parameter 2 for Light Pulse Distribution","Unit":"Nanoseconds [ns]"},
"Gen_mu":{"Description":"Function for the random sampling of the number of Primary Gieger Discharges","Unit":None,"Options":["Poisson","Gauss","Fixed"]},
"Gen_tmu":{"Description":"Function for the random sampling of the time of primary Gieger discharges","Unit":None,"Options":["Gauss","Exp"]},
"Gen_gain":{"Description":"Function for the random sampling of the SiPM Gain","Unit":None,"Options":["Gauss"]},
"Gen_npXT":{"Description":"Function for the random sampling of the prompt cross-talk","Unit":None,"Options":["Poisson","Binom","Borel"]},
"Gen_ndXT":{"Description":"Function for the random sampling of the number delayed cross-talk discharges","Unit":None,"Options":["Poisson","Binom","Borel"]},
"Gen_tdXT":{"Description":"Function for the random sampling of the time of delayed cross-talk discharges","Unit":None,"Options":["Exp"]}
raiseException("Expected a dictionary of parameters. Please enter a dictionary with all of the following elements: {0}.".format(
", ".join(list(self.VariableDictionary.keys()))))
raiseException("Expected a dictionary of parameters. Please enter a dictionary with all of the following elements: {0}.".format(", ".join(list(self.VariableDictionary.keys()))))
raiseException("The Time for Primary Geiger Discharge distribution mode that has been selected is invalid. Please choose from the following options: {0}".format(
raiseException("The Time for Primary Geiger Discharge distribution mode that has been selected is invalid. Please choose from the following options: {0}".format(", ".join(self.VariableDictionary["Gen_tmu"]["options"])))
raiseException("The Prompt Cross-talk Discharge distribution mode that has been selected is invalid. Please choose from the following options: {0}".format(
raiseException("The Prompt Cross-talk Discharge distribution mode that has been selected is invalid. Please choose from the following options: {0}".format(", ".join(self.VariableDictionary["Gen_npXT"]["options"])))
if (ns.Gen_ndXT=="Poisson"):
ns.dist_fdXT=scipy.stats.poisson(mu=ns.pdXT)
...
...
@@ -695,15 +379,12 @@ class SiPMSimulation:
elif (ns.Gen_ndXT=="Borel"):
ns.dist_fdXT=borel(mu=ns.pdXT)
else:
raiseException("The Delayed Cross-talk Discharge mode that has been selected is invalid. Please choose from the following options: {0}".format(
raiseException("The Delayed Cross-talk Discharge mode that has been selected is invalid. Please choose from the following options: {0}".format(", ".join(self.VariableDictionary["Gen_ndXT"]["options"])))
raiseException("The Time of Delayed Cross-talk Discharge mode that has been selected is invalid. Please choose from the following options: {0}".format(
raiseException("The Time of Delayed Cross-talk Discharge mode that has been selected is invalid. Please choose from the following options: {0}".format(", ".join(self.VariableDictionary["Gen_tdXT"]["options"])))