Skip to content

FIX: Update the rotation direction for the lo pivot angle#2627

Merged
greglucas merged 1 commit intoIMAP-Science-Operations-Center:devfrom
greglucas:lo-pivot-angle-fix
Jan 28, 2026
Merged

FIX: Update the rotation direction for the lo pivot angle#2627
greglucas merged 1 commit intoIMAP-Science-Operations-Center:devfrom
greglucas:lo-pivot-angle-fix

Conversation

@greglucas
Copy link
Collaborator

We need to rotate in the + pivot angle direction. There was an incorrect negative sign to rotate counter clockwise before.

@greglucas greglucas self-assigned this Jan 27, 2026
@greglucas greglucas added Ins: Lo Related to the IMAP-Lo instrument Level: L1 Level 1 processing labels Jan 27, 2026
We need to rotate in the + pivot angle direction. There was an
incorrect negative sign to rotate counter clockwise before.
@greglucas
Copy link
Collaborator Author

OK, we just did some quick investigations and think the "-" rotation was actually correct because we want the X/Y values to be positive in the output when pivot platform is around 90 degrees.

Copy link
Contributor

@subagonsouth subagonsouth left a comment

Choose a reason for hiding this comment

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

Agree with rotating by -pivot_angle. This is because spiceypy.rotate provides the rotation matrix that is "the rotation matrix which describes the rotation of the COORDINATE system through angle radians about the axis whose index is iaxis." Which I have convinced myself means that it is the inverse of the rotation matrix that we want.

@greglucas greglucas merged commit c106df1 into IMAP-Science-Operations-Center:dev Jan 28, 2026
14 checks passed
@greglucas greglucas deleted the lo-pivot-angle-fix branch January 28, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ins: Lo Related to the IMAP-Lo instrument Level: L1 Level 1 processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants