Skip to content

Update frame transforms#2189

Merged
maxinelasp merged 3 commits into
IMAP-Science-Operations-Center:devfrom
maxinelasp:mag_frames_processing_update
Sep 8, 2025
Merged

Update frame transforms#2189
maxinelasp merged 3 commits into
IMAP-Science-Operations-Center:devfrom
maxinelasp:mag_frames_processing_update

Conversation

@maxinelasp

Copy link
Copy Markdown
Contributor

Change Summary

Follow on to #2177 and completes #2111

Change all references to IMAP_MAG to either IMAP_MAG_O or IMAP_MAG_I and add a test to verify.

Completes MAG L1D and MAG L2 changes for this update.

@maxinelasp maxinelasp added this to the September 2025 milestone Sep 5, 2025
@maxinelasp maxinelasp self-assigned this Sep 5, 2025

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

A couple of questions. I also checked to make certain this doesn't affect I-ALiRT and it doesn't. Hooray! Nice work. I

Comment thread imap_processing/mag/l1d/mag_l1d_data.py Outdated
Comment thread imap_processing/mag/l1d/mag_l1d_data.py
@greglucas greglucas linked an issue Sep 8, 2025 that may be closed by this pull request

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

After making the below comments, it occurred to me that maybe the problem is that the singular class instance attribute self.frame cannot handle the reality that when the vectors are in their native frames, there are actually 2 different frames, one for self.vectors and one for self.magi_vectors. If that is true, maybe adding another attribute that contains the magi_frame would clean things up? Just a suggestion from my incomplete picture of this class.

Comment thread imap_processing/mag/l1d/mag_l1d_data.py Outdated
Comment thread imap_processing/mag/l1d/mag_l1d_data.py Outdated
Comment thread imap_processing/mag/l1d/mag_l1d_data.py
Comment thread imap_processing/mag/l1d/mag_l1d_data.py Outdated

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

Makes sense to me. Nice work

@maxinelasp maxinelasp merged commit 3ca5922 into IMAP-Science-Operations-Center:dev Sep 8, 2025
14 checks passed
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.

MAG l1d l2 - Use correct instrument frame for geometry

3 participants