Skip to content

Conversation

@iain-hall
Copy link
Contributor

@iain-hall iain-hall commented Dec 16, 2025

  • Inject devices from i20_1.py environment into plans.
  • Refactored common code used for sequence table scans to a new functions (create_seqtable, seq_table_scan).
  • Use energy-bragg conversion functions from spectroscopy_bluesky.common.quantity_conversion
  • Refactor conversion to encoder counts from user position to a function, to avoid using MRES directly.
  • New function (setup_trajectory_scan_pvs) to set coordinate system on trajectory scan controller needed for PMac scans to work correctly.
  • seq_table plan uses multiple repeats of the sequence table to capture positions for multiple motor sweeps, rather than putting all positions for multiple motor sweeps in a single table.

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

❌ Patch coverage is 0% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.83%. Comparing base (4ba0965) to head (da4cd6a).

Files with missing lines Patch % Lines
..._bluesky/i20_1/plans/direct_turbo_slit_movement.py 0.00% 49 Missing ⚠️
src/spectroscopy_bluesky/i20_1/plans/__init__.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   33.13%   33.83%   +0.69%     
==========================================
  Files          16       16              
  Lines         685      671      -14     
==========================================
  Hits          227      227              
+ Misses        458      444      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants