For more information about me and my research, visit my homepage:
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 commandpynot flux1d
.
This command requires three arguments:
- The 1D extracted spectrum (in FITS table format, must be wavelength-calibrated!)
- 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 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]