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] [--verbose] [--echo]
                                                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
  --verbose   Display intermediate information
  --echo      Display full command line

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] [--echo]
                                     [--debug]

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
  --echo                Display full command line
  --debug               Debug