get_photom_scale

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

Get tabulated scale factor

Parameters
headerHeader

Image header

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.