Skip to content

CoDICE: L3_lo-direct-events: normalization bug - Card 3472 #159

Description

@mstarkey2158

@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.

Image

Metadata

Metadata

Labels

Data Release 2Deadline: September 1, 2026Ins: CoDICERelated to the CoDICE instrumentbugSomething isn't working

Type

Projects

  • Status
    Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions