The vmifuscience recipe

vmifuscience

Synopsis

Extract spectra from an IFU scientific exposure.

Description

This recipe extracts IFU scientific spectra using the input extraction mask, after aligning it to the brightest fiber spectra detected on the input exposure. The extracted spectra are then resampled at a constant wavelength step, after aligning the input wavelength calibration to the positions of a set of identified sky lines. The extracted spectra are eventually corrected for the relative differences in transmission from fiber to fiber.

Input files

DO category:             Type:       Explanation:             Required:
IFU_SCIENCE              Raw         Scientific spectra          Y
MASTER_BIAS              Calib       Master bias                 Y
IFU_TRACE                Calib       Extraction mask             Y
IFU_IDS                  Calib       Wavelength calibration      Y
IFU_TRANSMISSION         Calib       Transmission correction     Y
EXTINCT_TABLE            Calib       Atmospheric extinction      .

IFU_SPECPHOT_TABLE       Calib       Response curve              .

CCD_TABLE                Calib       Bad pixel table             .

Output files

DO category:             Data type:  Explanation:
IFU_SCIENCE_REDUCED      FITS image  Reduced scientific spectra
IFU_SCIENCE_FLUX_REDUCED FITS image  Reduced scientific spectra
IFU_FOV                  FITS image  Reconstructed IFU field-of-view
IFU_SKY_TRACE            FITS table  Science aligned extraction mask

Only if sky alignment is requested:
IFU_SKY_IDS              FITS table  Sky aligned wavelength solution

The extraction mask, the wavelength calibration, and the relative transmission table, are those generated by the recipe vmifucalib. A CCD table must be specified only if a bad pixel cleaning is requested.

For more details, please refer to the VIMOS Pipeline User’s Guide.

Constructor

cpl.Recipe("vmifuscience")

Create an object for the recipe vmifuscience.

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

Parameters

vmifuscience.param.BiasMethod

Bias removal method. (str; default: ‘Zmaster’) [default=”Zmaster”].

vmifuscience.param.CleanBadPixel

Bad pixel correction on master flat field. (bool; default: False) [default=False].

vmifuscience.param.ApplyTransmission

Apply transmission correction to extracted scientific spectra (bool; default: True) [default=True].

vmifuscience.param.CalibrateFlux

Extracted spectra are flux calibrated. (bool; default: False) [default=False].

vmifuscience.param.UseSkylines

Use sky lines to refine the wavelength calibration (bool; default: True) [default=True].

vmifuscience.param.UseSkyIndividual

Use sky lines to refine the wavelength calibration individually for each spectrum (bool; default: False) [default=False].

vmifuscience.param.ComputeQC

Compute QC1 parameters (bool; default: False) [default=False].

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

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

vmifuscience.param.BiasMethod = "Zmaster"
vmifuscience.param.CleanBadPixel = False
vmifuscience.param.ApplyTransmission = True
vmifuscience.param.CalibrateFlux = False
vmifuscience.param.UseSkylines = True
vmifuscience.param.UseSkyIndividual = False
vmifuscience.param.ComputeQC = False

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

import cpl
vmifuscience = cpl.Recipe("vmifuscience")
[...]
res = vmifuscience( ..., param = {"BiasMethod":"Zmaster", "CleanBadPixel":False})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to ESO VIMOS Pipeline Team. Alternatively, you may send a report to the ESO User Support Department.