get_photom_scale¶
- grizli.utils.get_photom_scale(header, verbose=True)[source]¶
Get tabulated scale factor
- Parameters
- header
Header
Image header
- verbosebool, optional
Whether to display verbose output. Default is True.
- header
- Returns
- keystr
Detector + filter key
- scalefloat
Scale value. If
key
not found in thedata/photom_correction.yml
table or if the CTX is newer than that indicated in the correction table then return 1.0.