Skip to content

Add a parameter refinement engine, mythen reduction and sample alignment#2

Merged
RJCD-Diamond merged 87 commits into
mainfrom
mythen_detector
May 13, 2026
Merged

Add a parameter refinement engine, mythen reduction and sample alignment#2
RJCD-Diamond merged 87 commits into
mainfrom
mythen_detector

Conversation

@RJCD-Diamond
Copy link
Copy Markdown
Collaborator

@RJCD-Diamond RJCD-Diamond commented Jan 27, 2026

This commit sets up the basis of what this repo is about, it contains lots of functions and classes for refinement and fitting and data reduction for the beamline ay DLS.

This is a big PR. IMO the first real commit should be big. Until this is a production repo, this is still experimental.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2026

Codecov Report

❌ Patch coverage is 31.59821% with 3364 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.84%. Comparing base (567c33c) to head (91df5f1).

Files with missing lines Patch % Lines
src/xrpd_toolbox/i11/mythen3_reduction_legacy.py 0.00% 929 Missing ⚠️
src/xrpd_toolbox/i11/angular_calibration.py 0.00% 488 Missing ⚠️
src/xrpd_toolbox/fit_engine/profile_calculation.py 25.68% 324 Missing ⚠️
src/xrpd_toolbox/i11/mythen.py 34.09% 290 Missing ⚠️
src/xrpd_toolbox/utils/utils.py 32.69% 177 Missing ⚠️
src/xrpd_toolbox/fit_engine/symmetry.py 29.33% 106 Missing ⚠️
src/xrpd_toolbox/i15_1/eiger_500k.py 47.31% 98 Missing ⚠️
src/xrpd_toolbox/fit_engine/fitting_core.py 69.10% 97 Missing ⚠️
...rc/xrpd_toolbox/fit_engine/peak_shape_functions.py 43.58% 88 Missing ⚠️
src/xrpd_toolbox/utils/messenger.py 28.57% 85 Missing ⚠️
... and 17 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #2       +/-   ##
===========================================
- Coverage   97.22%   31.84%   -65.38%     
===========================================
  Files           4       30       +26     
  Lines          36     4936     +4900     
===========================================
+ Hits           35     1572     +1537     
- Misses          1     3364     +3363     

☔ 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.

@RJCD-Diamond RJCD-Diamond changed the title minimal mythen reduction and legacy example added Add a parameter refinement engine, mythen reduction and sample alignment May 13, 2026
@RJCD-Diamond RJCD-Diamond merged commit ad067e0 into main May 13, 2026
8 of 10 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.

1 participant