Dear Pyxel users,
The Pyxel version 2.8 is released.
This release introduces significant updates and new features.
š New model exponential_qe
in Charge Generation
Model exponential_qe
from Charge Generation
has been added.
This model computes the Quantum Efficiency (QE) of a detector based on key characteristics such as: * Front/Back Illumination * Charge Collection Efficiency * Absorption coefficient * Reflectivity * Epilayer thickness * Poly gate thickness
š FITS Header Propagation
It is now possible to propagate the FITS header, read using model
the load_image
from Photon Collection
with a FITS Image data file into the FITS output file(s).
For example, if the FITS file my_image.fits
contains a FITS header into its HDU (Header Data Unit) ‘RAW’, you
can extract and store it into an output FITS file by using the following YAML configuration:
observation: # or 'exposure'
outputs:
output_folder: 'output' # <== output FITS file(s) will be save in this folder
save_data_to_file:
- detector.image.array: ['fits'] # <== generate at least one FITS file
cmos_detector:
...
pipeline:
photon_collection:
func: pyxel.models.photon_collection.load_image
enabled: true
arguments:
image_file: my_image.fits # <== input FITS filename
convert_to_photons: false
include_header: true
header_section_index: 'RAW' # <== HDU where to retrieve the FITS header (optional)
...
āØļø Add more instructions for setting a development environment with uv
Add additional instructions in the contribution guide
on how to set up a development environment using uv
(Unified Python Packaging).
Breaking changes
Support for Python 3.9 has been dropped.
The minimum versions of some dependencies were also changed:
| Package | Old | New | |——————-|———–|—————-| | astropy | 4.3 | 5.2+ | | typing-extensions | 4.5 | 4.9+ | | xarray | 2023.12.0 | 2024.10.0+ |
See more details and changes in the changelog.