Atmospheric differential refraction

compare_adr_extensions_in_3d_cube

This script computes the correction for differential atmospheric refraction present in a 3D data cube, by reading the information from two specific extensions (e.g., ADRCROSS, ADRTHEOR).

(venv_numina) $ numina-compare_adr_extensions_in_3d_cube --help
Usage: numina-compare_adr_extensions_in_3d_cube [-h] [--version] [--output-dir OUTPUT_DIR]
                                                [--no-color] [--record] [--echo]
                                                [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                                                filename extname1 extname2

Compare ADR extensions in 3D cube

Positional Arguments:
  filename              Input 3D FITS file
  extname1              First extension name
  extname2              Second extension name (optional)

Options:
  -h, --help            show this help message and exit
  --version             Display version information and exit
  --output-dir OUTPUT_DIR
                        Output directory (default: .)
  --no-color            Disable color output
  --record              Record terminal output
  --echo                Display full command line
  --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set the logging level

compute_adr_wavelength

This script calculates the effect of atmospheric refraction, using a predefined wavelength as reference.

(venv_numina) $ numina-compute_adr_wavelength --help
Usage: numina-compute_adr_wavelength [-h] [--airmass AIRMASS]
                                     [--reference-wave-vacuum REFERENCE_WAVE_VACUUM]
                                     [--wave-ini WAVE_INI] [--wave-end WAVE_END]
                                     [--wave-step WAVE_STEP] [--wave-unit WAVE_UNIT]
                                     [--temperature TEMPERATURE] [--pressure PRESSURE]
                                     [--pressure_water_vapor PRESSURE_WATER_VAPOR] [--plots]
                                     [--ndecimal-wave NDECIMAL_WAVE] [--ndecimal-adr NDECIMAL_ADR]
                                     [--version] [--output-dir OUTPUT_DIR] [--no-color] [--record]
                                     [--echo] [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]

Compute Atmospheric Differential Refraction

Options:
  -h, --help            show this help message and exit
  --airmass AIRMASS     Airmass
  --reference-wave-vacuum REFERENCE_WAVE_VACUUM
                        Reference wavelength (vacuum)
  --wave-ini WAVE_INI   Initial wavelength
  --wave-end WAVE_END   Final wavelength
  --wave-step WAVE_STEP
                        Wavelength step
  --wave-unit WAVE_UNIT
                        Wavelength unit (astropy)
  --temperature TEMPERATURE
                        Temperature (Celsius)
  --pressure PRESSURE   Pressure (mmHg)
  --pressure_water_vapor PRESSURE_WATER_VAPOR
                        Water vapor pressure (mmHg)
  --plots               Plot intermediate results
  --ndecimal-wave NDECIMAL_WAVE
                        Number of decimal places in wavelength
  --ndecimal-adr NDECIMAL_ADR
                        Number of decimal places in ADR
  --version             Display version information and exit
  --output-dir OUTPUT_DIR
                        Output directory (default: .)
  --no-color            Disable color output
  --record              Record terminal output
  --echo                Display full command line
  --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set the logging level