VIRCAM Pipeline  1.3.4
vircam_gaincor

Test recipe to drive the vircam_gaincor library function. More...

Test recipe to drive the vircam_gaincor library function.

Name:
vircam_gaincor
Purpose:
Test recipe to drive the vircam_gaincor library function.
Description:
Test the library function vircam_gaincor by calculating the multiplicative factors required to gain correct from a master flat and then applying it to an input image. Best results will be obtained if the image has been previously at least dark and flat corrected.
Language:
C
Parameters:
  • ext (int): The image extension of the input files to be done on this run. If all of the extensions are to be processed, then this should be set to zero.
Input File Types:
The following list gives the file types that can appear in the SOF file. The word in bold is the DO category value.
  • SCIENCE_IMAGE (required): An input (preferably dark and flat corrected) image.
  • MASTER_TWILIGHT_FLAT (required): A master flat frame
Output File Types:
The following lists the output data frames that are generated by this recipe. The word in bold gives the PRO CATG keyword value for each.
  • SIMPLE_IMAGE_TEST: A gain corrected image.
Notes
None.
Fatal Error Conditions:
  • Missing input image or flat frame.
Non-Fatal Error Conditions:
None.
Author:
Jim Lewis, CASU
Code Reference:
tests/vircam_gaincor.c