Skip to content

IDEX l2a: update fit impact to handle time before impact - #3491

Open
lacoak21 wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
lacoak21:idex_l2a_fit_impact_bug
Open

lacoak21 wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
lacoak21:idex_l2a_fit_impact_bug

Conversation

@lacoak21

Copy link
Copy Markdown
Contributor

Change Summary

closes #3478

Overview

Before, fit impact was not handling time points before the impact. For those points we could get large negative values causing exponent_1 and exponent_2 to overflow into np.inf and -np.inf. This trickled down to introduce nans. To fix this, any elapsed time values before the impact are zeroed out for the exponentials.

File changes

  • imap_processing/idex/idex_l2a.py
    • Clamp elapsed time.

@lacoak21
lacoak21 requested review from aldo9253 and bryan-harter and a balanced review from Copilot September 24, 2026 16:03
@lacoak21 lacoak21 self-assigned this Sep 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@aldo9253 aldo9253 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IDEX failing PROD l2a job.

4 participants