The fors_photometry recipe

fors_photometry

Synopsis

Compute corrected flatfield

Description

Input files

DO category:               Type:       Explanation:             Number:
PHOT_TABLE                 FITS table  Expected extinction params  1
ALIGNED_PHOT               FITS table  Photometry                  1+
MASTER_SKY_FLAT_IMG        FITS image  Master flat field           1

Output files

DO category:               Data type:  Explanation:
PHOT_COEFF_TABLE           FITS image  Observed extinction coefficients
CORRECTION_MAP             FITS image  Correction map (magnitude)
CORRECTION_FACTOR          FITS image  Correction map (flux)
MASTER_FLAT_IMG            FITS image  Corrected master flat field

Constructor

cpl.Recipe("fors_photometry")

Create an object for the recipe fors_photometry.

import cpl
fors_photometry = cpl.Recipe("fors_photometry")

Parameters

fors_photometry.param.fitz

Fit zeropoint (bool; default: True) [default=True].

fors_photometry.param.fit_all_mag

Always fit star magnitudes (bool; default: False) [default=False].

fors_photometry.param.fite

Fit atmospheric extinctions (str; default: ‘pernight’) [default=”pernight”].

fors_photometry.param.fitc

Fit color correction term (bool; default: False) [default=False].

fors_photometry.param.use_all_stars

Use also non-standard stars to fit polynomial f (bool; default: False) [default=False].

fors_photometry.param.degreef1

FLatfield correction map polynomial degree (x) (int; default: 0) [default=0].

fors_photometry.param.degreef2

Flatfield correction map polynomial degree (y), or negative for triangular coefficient matrix (int; default: -1) [default=-1].

fors_photometry.param.degreep

Extinction/color coupling degree (int; default: 0) [default=0].

fors_photometry.param.mjd_obs_target

MJD-OBS used to match the raw frame from which EXTINCTION_PER_NIGHT and PHOT_COEFF inherit MJD-OBS. If negative theMJD-OBS of the first raw frame isused (float; default: -1.0) [default=-1.0].

The following code snippet shows the default settings for the available parameters.

import cpl
fors_photometry = cpl.Recipe("fors_photometry")

fors_photometry.param.fitz = True
fors_photometry.param.fit_all_mag = False
fors_photometry.param.fite = "pernight"
fors_photometry.param.fitc = False
fors_photometry.param.use_all_stars = False
fors_photometry.param.degreef1 = 0
fors_photometry.param.degreef2 = -1
fors_photometry.param.degreep = 0
fors_photometry.param.mjd_obs_target = -1.0

You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:

import cpl
fors_photometry = cpl.Recipe("fors_photometry")
[...]
res = fors_photometry( ..., param = {"fitz":True, "fit_all_mag":False})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to Jonas M. Larsen. Alternatively, you may send a report to the ESO User Support Department.