Skip to content

silx.math.calibration.ArrayCalibration: Improved is_affine implementation#4478

Open
t20100 wants to merge 3 commits intomainfrom
update-calibration
Open

silx.math.calibration.ArrayCalibration: Improved is_affine implementation#4478
t20100 wants to merge 3 commits intomainfrom
update-calibration

Conversation

@t20100
Copy link
Member

@t20100 t20100 commented Feb 6, 2026

This PR improves the ArrayCalibration.is_affine function which fails when the array values have a large difference of exponents with float32.

It also converts calibration test to pytest and adds a test that was failing with the previous implementation (testAffineArrayWithHighDynamicRange).

closes #4467

@t20100 t20100 added this to the 3.0.0 milestone Feb 6, 2026
@t20100 t20100 requested a review from EdgarGF93 February 6, 2026 16:34
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.

silx.math.calibration: Improve detection of linear arrays

1 participant