get_photom_scale

grizli.utils.get_photom_scale(header, verbose=True)[source]

Get tabulated scale factor

Parameters
headerHeader

Image header

verbosebool, optional

Whether to display verbose output. Default is True.

Returns
keystr

Detector + filter key

scalefloat

Scale value. If key not found in the data/photom_correction.yml table or if the CTX is newer than that indicated in the correction table then return 1.0.