Skip to content

Adds conversion between material depth and attenuation#2049

Open
Matt-Carre wants to merge 14 commits intomainfrom
2041_interconversion_depth_attenuation
Open

Adds conversion between material depth and attenuation#2049
Matt-Carre wants to merge 14 commits intomainfrom
2041_interconversion_depth_attenuation

Conversation

@Matt-Carre
Copy link
Copy Markdown

Fixes #2041
Adds tests and functions to convert between depth (measured in cm) and attenuation

@Matt-Carre Matt-Carre requested a review from a team as a code owner May 5, 2026 13:17
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.12%. Comparing base (0beeb31) to head (c32281d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2049   +/-   ##
=======================================
  Coverage   99.11%   99.12%           
=======================================
  Files         327      329    +2     
  Lines       12814    12842   +28     
=======================================
+ Hits        12701    12729   +28     
  Misses        113      113           

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

Comment thread src/dodal/common/general_maths/material_absorption_maths.py Outdated
Comment thread src/dodal/common/general_maths/material_absorption_maths.py Outdated
Comment thread src/dodal/common/general_maths/material_absorption_maths.py
Comment thread src/dodal/common/general_maths/material_absorption_maths.py
Comment thread tests/common/general_maths/test_material_absorption_maths.py Outdated
Comment thread tests/common/general_maths/test_material_absorption_maths.py Outdated
Comment thread tests/common/general_maths/test_material_absorption_maths.py Outdated
Comment thread tests/common/general_maths/test_material_absorption_maths.py Outdated
Comment thread tests/common/general_maths/test_material_absorption_maths.py Outdated
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.

Extend beamline-relevant arithmetic to provide interconversion between attenuation and material depth

2 participants