Dobyโ€™s ESA Pyxel Logs๐ŸŒ™

๐Ÿ”ญ 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

โš™๏ธ Config Lab