sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
Loading...
Searching...
No Matches
ivscan.py File Reference

Namespaces

namespace  ivscan
 

Variables

 ivscan.args = ky.parse_arguments()
 parse arguments
 
 ivscan.outfiletagname = ky.build_tagname(args)
 output file run tag
 
 ivscan.starttime = time.time()
 start
 
dict ivscan.Vbd_refV = {'SENSL' : 24.5 , 'BCOM' : 26.9 , 'FBK' : 32.0 }
 Vbd reference values from datasheet.
 
dict ivscan.Vbd_refT = {'SENSL' : 21.0 , 'BCOM' : 25.0 , 'FBK' : 24.0 }
 
dict ivscan.Vbd_coef = {'SENSL' : 0.021 , 'BCOM' : 0.025 , 'FBK' : 0.035 }
 
dict ivscan.NaverT = {293 : 1 , 283 : 1 , 273 : 2 , 263 : 2 , 253 : 4 , 243 : 4}
 temperature dependent optimisation
 
dict ivscan.Naver = NaverT[args.temperature]
 
dict ivscan.refV = Vbd_refV[args.board]
 calculate expected Vbd
 
dict ivscan.refT = Vbd_refT[args.board]
 
dict ivscan.coef = Vbd_coef[args.board]
 
dict ivscan.Vbd = refV + coef * (args.temperature - 273 - refT)
 
 ivscan.fig
 add time tag timenow = datetime.datetime.now() timetag = timenow.strftime('YmdHMS') outfiletagname += '.
 
 ivscan.ax
 add time tag timenow = datetime.datetime.now() timetag = timenow.strftime('YmdHMS') outfiletagname += '.
 
 ivscan.figsize
 
dict ivscan.Vmin = Vbd - 2.
 connect and initialize
 
dict ivscan.Vmax = Vbd + 15.
 
float ivscan.Vstep = 0.200
 
 ivscan.Vscan = np.arange(Vmin, Vmax, Vstep)
 configure source, measure and trigger model
 
list ivscan.Vsmart = [Vbd, Vbd + 5.]
 
 ivscan.Ilim
 
 ivscan.reverse
 
 ivscan.True
 
 ivscan.Twait
 
 ivscan.Tstep
 
 ivscan.Tmeas
 
 ivscan.Nmeas
 
 ivscan.measurements = ky.read_measurements()
 start trigger model and wait
 
 ivscan.invertX
 plot measurements
 
 ivscan.invertY
 
 ivscan.endtime = time.time()
 write measurements