Doby’s ESA Pyxel Logs🌙

Doby’s ESA Pyxel Logs

Hi, I’m Doby. This page documents my ongoing contributions to the ESA Pyxel open-source project. My work focuses on improving clarity, robustness, and developer experience across Pyxel’s configuration, validation, and error-handling layers. The logs and write-ups here reflect real merge requests, design decisions, and exploratory work, serving both as a personal development record and as transparent documentation of my contributions to the project.

🌍 Highlights

  • Named in the Pyxel 3.0 paper. The SPIE paper on Pyxel 3.0 credits me with leading development of Pyxel's new GUI, Pyxel Config Lab, the first application built on Pyxel's JSON Schema. Lemmel, F., Affatato, V., Jha, A., Hernandez, E., Prod'homme, T., Serra, B., George, E., and Mansour, M., "Pyxel 3.0: New features and applications for the collaborative instrument simulator," Proc. SPIE 14157, X-Ray, Optical, and Infrared Detectors for Astronomy XII, 141571I (19 August 2026). doi:10.1117/12.3104656
  • Pyxel Config Lab in the Pyxel 2.14 release. My browser tool for building Pyxel YAML configurations was introduced in the 2.14 release notes.
  • pyxel-config-core on PyPI. The Config Lab's validation and knowledge core, callable as a Python library or as an MCP server: pyxel-config-core.

🛰️ Latest Code Contributions

Title Summary Date Status Link
🧩 Scene Generation Models in the JSON Schema Adds load_image and usaf_illumination to Pyxel's JSON Schema, which left them out after Pyxel 3.0 renamed their detector parameter, and completes their catalogue examples. 2026-10-24 Open, awaiting review View MR
🧩 charge_to_volt Capacitance Key in the JSON Schema Names the capacitance form of charge_to_volt from_capacitance in the JSON Schema, the key Pyxel's loader actually reads. 2026-10-03 Open, awaiting review View MR
🧩 dark_current_dd and dark_current_tid Names Makes the catalogue and documentation use the model names the package exports, so copied examples load instead of stopping on an unknown function. 2026-10-03 Open, awaiting review View MR
🔭 Focal Length and Plate Scale Through One Radian Fixes the conversion between focal length and plate scale, which was off by the 206265 arcseconds in a radian. 2026-10-03 Open, awaiting review View MR
🧩 Null in Optional Literal Enums Lets the JSON Schema accept null for nine optional arguments whose default is None, so valid configurations stop failing validation. 2026-09-26 Open, awaiting review View MR
🛰️ MKID Characteristics Initialized With Geometry Makes MKID detectors initialize their characteristics like CCD, CMOS and APD do, so models that read the pre-amplification map work on MKID. 2026-09-26 Open, awaiting review View MR
🖥️ JSON Schema Generator on Windows Writes the generated schema files as UTF-8 with LF endings, so tox -e json_schema completes on Windows and reproduces the committed schema byte for byte. 2026-09-21 Open, awaiting review View MR
🧩 Detector Filename Typed as a Path Types the load_detector and save_detector filename as a path in the JSON Schema, where it was declared a number. 2026-09-21 Open, awaiting review View MR
🧩 Fix JSON Schema Parameter Order Makes JSON Schema generation robust when docstring parameter order differs from function signatures 2026-01-13 Open, awaiting review View MR
🧩 Optional ModelFunction Name Makes the ModelFunction name parameter optional by deriving it automatically from the function path when omitted 2026-01-13 Closed, not merged View MR
🚀 Implementation of check_validity Adds the new check_validity() function with Annotated and annotated-types constraint support, forming the foundation of Pyxel's future validation system. 2025-12-02 Merged View MR
🚀 Prototype: Annotated Metadata for Model Constraints Introduces typing.Annotated metadata to Pyxel models to prepare for future schema-based validation 2025-11-26 Merged View MR
🚀 Load General Image Function Adds load_general_image to Pyxel for multi-format image loading 2025-09-25 Closed, not merged View MR
🚀 Improved error message for invalid parameters.key Adds clarity for YAML debugging in Observation mode 2025-09-07 Merged View MR

✨ Latest Write-ups

Title Summary Date Status Link
📝 Stale YAML Examples and Copied Docstring Summaries Fixes YAML examples that no longer matched their model signatures, and docstring summaries copied from another function. 2026-07-25 Open, awaiting review View MR
🟦 Documenting detector pixel types in Pyxel Added clear documentation for reference, masked, and overscan pixels to clarify their semantic roles in detector simulations. 2026-01-27 Open, awaiting review View MR
🧠 Volatile vs Non-Volatile Parameters in Pyxel Explains how Pyxel distinguishes stable detector properties from run-to-run variability, helping users design correct and reproducible YAML configurations. 2026-01-26 Open, awaiting review View MR
🟨 Using pixi for Pyxel development Added an alternative, cross-platform development setup using pixi to make contributing to Pyxel easier and more consistent across systems. 2026-01-22 Open, awaiting review View MR
🧪 Pyxel Config Lab in the 2.14 Release Introduced a new external tool for building YAML configs with integrated docs and examples. 2025-10-30 Featured in a Pyxel release View release note
🖥️ Windows tip for fast local preview Skip notebook execution for text-only edits on Windows. 2025-09-06 Merged View MR

Statuses checked on GitLab on 25 October 2026.

⚙️ Config Lab