cctbx / dxtbx

Diffraction Experiment Toolbox
BSD 3-Clause "New" or "Revised" License
2 stars 12 forks source link

Add wavelength range to polychromatic beams. #704

Closed toastisme closed 3 months ago

toastisme commented 4 months ago

Polychromatic beams have no wavelength but a wavelength range is still useful for things like working out the max detector resolution. This adds basic setters/getters for wavelength_range for polychromatic beams.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 42.40%. Comparing base (7964d4b) to head (7dc9b47).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #704 +/- ## ========================================== + Coverage 42.39% 42.40% +0.01% ========================================== Files 187 187 Lines 16492 16498 +6 Branches 3156 3158 +2 ========================================== + Hits 6991 6996 +5 Misses 8858 8858 - Partials 643 644 +1 ```