PyNOT : flux1d

Flux Calibration

Once the instrument response function has been determined for a given dispersive element using pynot response, the flux calibration can be applied to a 1-dimensional extracted spectrum by running the command pynot flux1d. This command requires three arguments:
  1. The 1D extracted spectrum (in FITS table format, must be wavelength-calibrated!)
  2. The response function calculated by pynot response
  3. The desired filename of the output, given by command line option -o
PyNOT verifies that the science spectrum that you want to flux calibrate has been observed with the same instrumental setting.

Airmass and Exposure Time

The code automatically tries to determine the airmass of the observation from the FITS header. If this is not possible, the command line will prompt you for the value of the airmass. After you enter the value and press the RETURN key, the code will continue. Similarly, if the code cannot read the exposure time from the FITS header, the command line will ask you for this value, which must be given in seconds.

Example Syntax

pynot flux1d -o OUTPUT input response


Full example of command line syntax:

pynot flux1d [-h] -o OUTPUT input response



Overview of parameters

input
Input filename of 1D spectrum
response
Reference response function from 'PyNOT-response'
--output (-o)
Output filename of flux-calibrated spectrum [REQUIRED]