@jtniehof @pleasant-menlo @mmshaw
Lynn Kistler discovered that the normalizaion and normalization_per_event variables contained fill values or 0's for all DCR events (i.e., events without a valid APD_ID). These in fact are valid events and should be included in the normalization computations (an oversight on my end).
The current processing code applies a mask to events without a valid apd_id which is the cause of this issue. I have looked through the github processing code and identified this issue in the following codes:
rebin_direct_events_by_energy_and_spin_sector.py at line 81-82 (see screenshot attached)
- We need to remove the apd_id_mask. Only keep the spin_sector_mask and energy_indices_mask
I think the remaining lookup function for the normalization_per_event variable is ok since it uses the above function.
I am happy to join a call if needed.
I do think this should be corrected for data release 2 if possible.

@jtniehof @pleasant-menlo @mmshaw
Lynn Kistler discovered that the normalizaion and normalization_per_event variables contained fill values or 0's for all DCR events (i.e., events without a valid APD_ID). These in fact are valid events and should be included in the normalization computations (an oversight on my end).
The current processing code applies a mask to events without a valid apd_id which is the cause of this issue. I have looked through the github processing code and identified this issue in the following codes:
rebin_direct_events_by_energy_and_spin_sector.py at line 81-82 (see screenshot attached)
I think the remaining lookup function for the normalization_per_event variable is ok since it uses the above function.
I am happy to join a call if needed.
I do think this should be corrected for data release 2 if possible.