For more information about me and my research, visit my homepage:
PyNOT : flux2d
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 2-dimensional spectrum by running the commandpynot flux2d
.
This command requires three arguments:
- The 2D spectrum (must be wavelength-calibrated and rectified)
- The response function calculated by pynot response
-
The desired filename of the output, given by command line option
-o
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 flux2d -o OUTPUT input response
Full example of command line syntax:
pynot flux2d [-h] -o OUTPUT input response
Overview of parameters
- input
- Input filename of 2D spectrum
- response
- Reference response function from 'PyNOT-response'
- --output (-o)
- Output filename of flux-calibrated 2D spectrum [REQUIRED]