apply_visit_skyflat

grizli.prep.apply_visit_skyflat(visit, skyfile=None, verbose=True)[source]

Apply the skyflat

Parameters
visitdict

Visit dictionary with, at a minimum, keys of product and files.

skyfilestr

Skyflat filename. If None, look for {visit['product']}_skyflat.fits.

verbosebool

Print status messages.

Returns
None if the skyflat file is not found. Else the skyflat is applied to the
input files.