Detector definition section with azimuthal integration of the Rayonix:
# ##### DETECTORS ######################################################################## # List detectors to be cubed. Area detector have additional options such as threshold # Full images will always be saved. # More area detector can be defined following the same syntax, and adding them to varList detDict = {'source':'Rayonix', 'full':1, 'image':1, 'thresADU':-1e5, 'common_mode':0} pix_size = 176e-6 func_kwargs = { 'name': 'azav_pyfai', # must be the name of the smalldata_tools DetObjectFunc 'ai_kwargs': {'dist':1, 'poni1':960*pix_size, 'poni2':960*pix_size}, 'npts': 512, 'int_units' : '2th_deg', 'return2d' : False } det_proc = [func_kwargs] detDict['det_proc'] = det_proc # make list of all variables to be added to the cube varList = ['ipm_dg1/sum','ipm_dg2/sum', detDict]
Overview
Content Tools