Skip to content

Lo: Update TOF3 conversion#2864

Merged
ahotasu merged 3 commits into
IMAP-Science-Operations-Center:devfrom
ahotasu:copilot/enhance-tof3-conversion
Mar 24, 2026
Merged

Lo: Update TOF3 conversion#2864
ahotasu merged 3 commits into
IMAP-Science-Operations-Center:devfrom
ahotasu:copilot/enhance-tof3-conversion

Conversation

@ahotasu
Copy link
Copy Markdown
Collaborator

@ahotasu ahotasu commented Mar 24, 2026

Change Summary

Update TOF3 conversion coefficients per email from Nathan
No reprocessing of past data is required, per Nathan

Overview

File changes

tof_conversions.py: Update TOF3 conversion coefficients
test_lo_l1b.py: Update tests to match new expected output

Testing

No new tests added.

@ahotasu ahotasu requested a review from sdhoyt March 24, 2026 17:52
@ahotasu ahotasu self-assigned this Mar 24, 2026
Copilot AI review requested due to automatic review settings March 24, 2026 17:52
@ahotasu ahotasu linked an issue Mar 24, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates IMAP-Lo L1B TOF engineering-unit conversion behavior by revising the TOF3 conversion coefficients, aligning the conversion output with updated instrument calibration guidance.

Changes:

  • Updated TOF3_CONV coefficients used for DN→EU conversion.
  • Updated the Lo L1B unit test expected values to match the new TOF3 conversion output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
imap_processing/lo/l1b/tof_conversions.py Updates TOF3 conversion coefficients used by Lo L1B TOF EU conversion.
imap_processing/tests/lo/test_lo_l1b.py Adjusts test_convert_tofs_to_eu expected TOF3 values for the new coefficients.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ahotasu ahotasu added enhancement New feature or request Ins: Lo Related to the IMAP-Lo instrument labels Mar 24, 2026
@ahotasu ahotasu added this to IMAP Mar 24, 2026
@ahotasu ahotasu merged commit 50befbc into IMAP-Science-Operations-Center:dev Mar 24, 2026
18 checks passed
@github-project-automation github-project-automation Bot moved this to Done in IMAP Mar 24, 2026
@ahotasu ahotasu deleted the copilot/enhance-tof3-conversion branch April 1, 2026 15:53
sapols pushed a commit to sapols/imap_processing that referenced this pull request Apr 15, 2026
* Initial plan

* ENH: Update TOF3 conversion coefficients per Lo IT request (IMAP-Science-Operations-Center#2861)

Co-authored-by: ahotasu <17867545+ahotasu@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ahotasu/imap_processing/sessions/681b3ffc-2c41-4cd6-ba50-0ba8044a6018

* Added documentation (comment) regarding TOF3 CONV update.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ahotasu <17867545+ahotasu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Ins: Lo Related to the IMAP-Lo instrument

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ENH: Lo IT requests change to TOF3 conversion

4 participants