๐ญ Pyxel Contribution: Focal Length and Plate Scale Through One Radian
Summary: Fixes the conversion between focal length and plate scale in FPAGeometry, which was off by the 206265 arcseconds in a radian.
URL:
https://gitlab.com/esa/pyxel/-/merge_requests/1253
โจ Overview
FPAGeometry.plate_scale turned a focal length into a plate scale as
1 arcsec / focal length, and FPAGeometry.focal_length turned it back as
1 arcsec / plate scale. A focal length f puts one radian of sky,
not one arcsecond, across f mm, so both conversions were short by the 206265 arcseconds
in a radian.
๐ Problem Analysis
For the optics the tests already use:
focal_length: 62800 # mm
-> plate_scale 1.59e-05 arcsec/mm, where 206265 / 62800 = 3.2845 A focal plane described by its focal length therefore projected the scene about 206265 times larger than the same optics described by their plate scale, with no error raised.
๐ง Technical Changes
- Both conversions now start from one radian.
๐งช Validation
- โ A new test checks that the two descriptions of the same optics agree.
- โ The test fails without the change and passes with it.
๐ฆ Authored by: Doby Baxter
๐ Contribution for: ESA Pyxel Project