Minor changes#53
Conversation
|
@martin-millon More about the LSST astrometric solutions: In the mean time, plate solving the LSST frames again yields well centered cutouts (without needing distortion) |
There was a problem hiding this comment.
Pull Request Overview
This PR implements several improvements to the lightcurver system including database schema changes, enhanced PSF modeling, and better error handling. The changes break existing databases and require a manual migration to add the new fwhm_moffat_arcseconds column.
- Track Moffat FWHM values during PSF fitting for better image quality monitoring
- Improve FITS header handling for oversized keywords from LSST files
- Add ROI visualization to star/footprint plots and relax zeropoint scatter validation
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| lightcurver/structure/database.py | Adds new column for storing Moffat FWHM measurements |
| lightcurver/processes/psf_modelling.py | Extracts and stores Moffat FWHM values during PSF fitting |
| lightcurver/processes/frame_importation.py | Improves FITS header handling for already plate-solved images |
| lightcurver/processes/star_querying.py | Adds ROI coordinates to star visualization plots |
| lightcurver/plotting/sources_plotting.py | Renders ROI with distinct visual styling |
| lightcurver/processes/roi_file_preparation.py | Converts assertion to warning for zeropoint scatter check |
| lightcurver/processes/star_photometry.py | Updates terminology from "deconvolution" to "modelling" |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Breaks existing databases, I will not write patches.
To run this updated code, one needs to add a column to existing reductions database: