Skip to content

BUG - All zero exposures in Lo spectral index maps #136

Description

@pleasant-menlo

Description of the issue

When inspecting the exposure_factor in Lo spx maps, there are only values of zero.

Steps to reproduce the issue

In the frozen set of IMAP-Lo maps from June 10, 2026, observe that any spx map will have all zero exposure_factor.

Expected vs Actual behavior

The exposure factor of a pixel should be the sum of the exposure factors for all selected energies.

Additional notes, affected areas, and suggested fixes

Similar to #133, when combining observation dates as part of spectral fit the code modifies the passed-in weights array in place, which zeroes out the exposure for all pixels.

This occurs for Lo maps generated from instrument team CSVs, because those have no observation dates, but the Hi and Ultra maps do not exhibit the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions