MUSE Pipeline Reference Manual  2.1.1
muse_astro.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set sw=2 sts=2 et cin: */
3 /*
4  * This file is part of the MUSE Instrument Pipeline
5  * Copyright (C) 2005-2014 European Southern Observatory
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef MUSE_ASTRO_H
23 #define MUSE_ASTRO_H
24 
25 /*----------------------------------------------------------------------------*
26  * Includes *
27  *----------------------------------------------------------------------------*/
28 
29 /*----------------------------------------------------------------------------*
30  * Defines *
31  *----------------------------------------------------------------------------*/
32 
33 /*----------------------------------------------------------------------------*
34  * Special variable types *
35  *----------------------------------------------------------------------------*/
36 
37 /*----------------------------------------------------------------------------*/
42 /*----------------------------------------------------------------------------*/
43 typedef struct {
44  double bary;
45  double helio;
46  double geo;
48 
49 /*----------------------------------------------------------------------------*
50  * Function prototypes *
51  *----------------------------------------------------------------------------*/
52 double muse_astro_compute_airmass(double, double, double, double, double);
53 double muse_astro_airmass(cpl_propertylist *);
54 double muse_astro_posangle(const cpl_propertylist *);
55 double muse_astro_parangle(const cpl_propertylist *);
56 double muse_astro_angular_distance(double, double, double, double);
58 muse_astro_rvcorr muse_astro_rvcorr_compute(const cpl_propertylist *);
59 
60 #endif /* MUSE_ASTRO_H */
Structure to store bary-, helio-, and geocentric velocity corrections.
Definition: muse_astro.h:43
double muse_astro_parangle(const cpl_propertylist *)
Properly average parallactic angle values of one exposure.
Definition: muse_astro.c:449
double muse_astro_wavelength_vacuum_to_air(double)
Compute air wavelength for a given vacuum wavelength.
Definition: muse_astro.c:534
double muse_astro_compute_airmass(double, double, double, double, double)
Compute the effective airmass of an observation.
Definition: muse_astro.c:207
muse_astro_rvcorr muse_astro_rvcorr_compute(const cpl_propertylist *)
Compute radial velocity corrections given the header of an exposure.
Definition: muse_astro.c:1197
double muse_astro_posangle(const cpl_propertylist *)
Derive the position angle of an observation from information in a FITS header.
Definition: muse_astro.c:413
double muse_astro_angular_distance(double, double, double, double)
Compute angular distance in the sky between two positions.
Definition: muse_astro.c:496
double muse_astro_airmass(cpl_propertylist *)
Derive the effective airmass of an observation from information in a FITS header. ...
Definition: muse_astro.c:331