Page History
...
Equatorial and arc combined mask
Masks for segments
Code below shows how to generate mask n-d arrays for particular set of segments (2x1s)
Code Block |
---|
shape_cspad = (32,185,388)
seg1 = np.ones((185,388))
mask_winds_all = np.zeros(shape_cspad, dtype=np.int16)
mask_winds_equ = np.zeros(shape_cspad, dtype=np.int16)
mask_winds_arc = np.zeros(shape_cspad, dtype=np.int16)
mask_winds_all[(0,1,7,8,9,15,16,17,23,24,25,31),:,:] = seg1
mask_winds_equ[(0,1,9,15,16,17,25,31),:,:] = seg1
mask_winds_arc[(0,7,8,15),:,:] = seg1 |
Only listed segments are highlighted on plots:
Radial background subtraction
...
Overview
Content Tools