Fix incorrect calculations for sod, odd and sdd
Swap from Z to Y axis for beam, and to (0, 1, 0) detector up vector.
Set minimum python version to 3.9
Update DTHE Twin with cm2@1m flux curves
Flux fixes, darkfield support, and cleanup
Update DTHE and DIAD schema with new gain
Revert "Update DTHE and DIAD schema with new gain"
Remove old `twin.setup()` from tests