🛰️ Pyxel Contribution: MKID Characteristics Initialized With Geometry
Summary: Makes MKID detectors call characteristics.initialize(geometry), like CCD, CMOS and APD already do.
URL:
https://gitlab.com/esa/pyxel/-/merge_requests/1251
✨ Overview
CCD, CMOS and APD call
characteristics.initialize(geometry) in their constructors, which resolves
pre_amplification into pre_amplification_map. MKID never did,
so the map stayed unset.
🔍 Problem Analysis
Any model reading the map failed on every MKID configuration, however pre_amplification was set:
ValueError: Missing required parameter 'pre_amplification_map' in 'characteristics'. simple_measurement is one such model. Setting pre_amplification on an
existing MKID raised as well, because the setter needs the geometry that initialize attaches.
🔧 Technical Changes
MKIDnow callsinitializelike the other detectors.
🧪 Validation
- ✅ The new test fails without the change and passes with it.
🦕 Authored by: Doby Baxter
🌌 Contribution for: ESA Pyxel Project