Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
for nevent, evt in enumerate(ds.events()):
	if nevent == 10:
		break
 
	# cmpars = [6] because this is the 6th common mode algorithm and it must be in a list format
	# Add arguments on as seen fit
    nda = det.calib(evt, cmpars = [6], rms = det.rms(evt), maxCorr = 25)

#7 - MEDIAN algorithm for jungfrau

  • par[0] - algorithm # 7
  • par[1] - mode 0/ +1/ +2 - turned off / median for rows /  median for columns
  • par[2] - maximal allowed common mode correction

Default parameters:

Code Block
7 1 100 0 0 0 0 0 0 0 0 0 0 0 0 0 

Code:

Code Block
# cmpars=None # for default
# cmpars=(7,0,100) # turn off
# cmpars=(7,1,100) # correction in rows
# cmpars=(7,1,100) # correction in columns
# cmpars=(7,3,100) # correction in rows and columns
nda = jungfrau.calib(evt, cmpars=(7, 1, 100))


Test of the common mode correction for pnCCD

...