ERIS Pipeline Reference Manual 1.8.15
eris_pfits.h
1/* $Id: eris_pfits.h,v 1.11 2013-07-22 13:38:01 jtaylor Exp $
2 *
3 * This file is part of the ERIS Pipeline
4 * Copyright (C) 2002,2003 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21/*
22 * $Author: jtaylor $
23 * $Date: 2013-07-22 13:38:01 $
24 * $Revision: 1.11 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef ERIS_PFITS_H
29#define ERIS_PFITS_H
30
31#ifdef HAVE_CONFIG_H
32#include <config.h>
33#endif
34
35/*-----------------------------------------------------------------------------
36 Includes
37 -----------------------------------------------------------------------------*/
38
39#include <cpl.h>
40
41/*-----------------------------------------------------------------------------
42 Functions prototypes
43 -----------------------------------------------------------------------------*/
44
45const char * eris_pfits_get_arcfile(const cpl_propertylist *);
46double eris_pfits_get_dit(const cpl_propertylist *);
47int eris_pfits_get_ndit(const cpl_propertylist * plist);
48double eris_pfits_get_exptime(const char * filename);
49int eris_pfits_get_naxis1(const cpl_propertylist * plist);
50int eris_pfits_get_naxis2(const cpl_propertylist * plist);
51double eris_pfits_get_crval3(const cpl_propertylist * plist);
52double eris_pfits_get_cd33(const cpl_propertylist * plist);
53double eris_pfits_get_cdelt3(const cpl_propertylist * plist);
54
55cpl_error_code eris_ifu_plist_erase_wcs(cpl_propertylist* plist);
56cpl_error_code
57eris_pfits_erase_wcs2D(cpl_propertylist* applist);
58cpl_error_code
59eris_ifu_plist_erase_wcs3D(cpl_propertylist* applist);
60cpl_propertylist* eris_ifu_plist_extract_wcs(cpl_propertylist* plist);
61cpl_propertylist*
62eris_ifu_plist_extract_wcs2D(const cpl_propertylist* applist);
63cpl_propertylist*
64eris_ifu_plist_extract_wcs3D(const cpl_propertylist* applist);
65double eris_pfits_get_mjdobs(const cpl_propertylist *aHeaders);
66long
67eris_pfits_get_obsid(const cpl_propertylist *aHeaders);
68const char *
69eris_pfits_get_ancestor(const cpl_propertylist *aHeaders);
70const char *
71eris_pfits_get_progid(const cpl_propertylist *aHeaders);
72double eris_pfits_get_airmass(const cpl_propertylist *aHeaders);
73double eris_pfits_get_airmass_start(const cpl_propertylist *aHeaders);
74double eris_pfits_get_airmass_end(const cpl_propertylist *aHeaders);
75const char *
76eris_pfits_get_raw_filename(const cpl_propertylist *aHeaders, unsigned int idx);
77double
78eris_pfits_get_ia_fwhmlin(const cpl_propertylist *aHeaders);
79double eris_pfits_get_fwhm_start(const cpl_propertylist *aHeaders);
80double eris_pfits_get_fwhm_end(const cpl_propertylist *aHeaders);
81double eris_pfits_get_crpix1(const cpl_propertylist * plist);
82double eris_pfits_get_crpix2(const cpl_propertylist * plist);
83double eris_pfits_get_crpix3(const cpl_propertylist * plist);
84const char* eris_pfits_get_pipefile(const cpl_propertylist *aHeaders);
85const char* eris_pfits_get_datamd5(const cpl_propertylist *aHeaders);
86cpl_error_code
87eris_pfits_clean_header(cpl_propertylist *header, const cpl_boolean clean_extra);
88cpl_error_code
89eris_pfits_clean_header_ra_dec_mjd_obs(cpl_propertylist *header);
90cpl_error_code
91eris_pfits_clean_comment(cpl_propertylist *header);
92cpl_error_code
93eris_ifu_plist_erase_expmap_extra_keys(cpl_propertylist* applist);
94#endif
double eris_pfits_get_mjdobs(const cpl_propertylist *aHeaders)
find out the Julian Date of the observation
Definition: eris_pfits.c:811
double eris_pfits_get_exptime(const char *filename)
find out the character string associated to the EXPTIME keyword
Definition: eris_pfits.c:137
double eris_pfits_get_cdelt3(const cpl_propertylist *plist)
find out the character string associated to the CDELT3 keyword
Definition: eris_pfits.c:710
double eris_pfits_get_crpix2(const cpl_propertylist *plist)
find out the character string associated to the CRPIX2 keyword
Definition: eris_pfits.c:736
int eris_pfits_get_naxis2(const cpl_propertylist *plist)
find out the character string associated to the NAXIS2 keyword
Definition: eris_pfits.c:168
const char * eris_pfits_get_raw_filename(const cpl_propertylist *aHeaders, unsigned int idx)
find out the i-th raw file name.
Definition: eris_pfits.c:609
const char * eris_pfits_get_arcfile(const cpl_propertylist *)
find out the arcfile
Definition: eris_pfits.c:82
double eris_pfits_get_fwhm_start(const cpl_propertylist *aHeaders)
find out the ambient seeing at start of exposure (in arcsec)
Definition: eris_pfits.c:649
const char * eris_pfits_get_datamd5(const cpl_propertylist *aHeaders)
find out the PIPEFILE id
Definition: eris_pfits.c:887
int eris_pfits_get_naxis1(const cpl_propertylist *plist)
find out the character string associated to the NAXIS1 keyword
Definition: eris_pfits.c:155
double eris_pfits_get_cd33(const cpl_propertylist *plist)
find out the character string associated to the CDELT3 keyword
Definition: eris_pfits.c:686
double eris_pfits_get_airmass_start(const cpl_propertylist *aHeaders)
find out the airmass at start of exposure
Definition: eris_pfits.c:765
double eris_pfits_get_fwhm_end(const cpl_propertylist *aHeaders)
find out the ambient seeing at end of exposure (in arcsec)
Definition: eris_pfits.c:669
double eris_pfits_get_ia_fwhmlin(const cpl_propertylist *aHeaders)
find out the image analysis FWHM from a linear fit (in arcsec)
Definition: eris_pfits.c:629
const char * eris_pfits_get_pipefile(const cpl_propertylist *aHeaders)
find out the PIPEFILE id
Definition: eris_pfits.c:867
double eris_pfits_get_crpix1(const cpl_propertylist *plist)
find out the character string associated to the CRPIX1 keyword
Definition: eris_pfits.c:748
int eris_pfits_get_ndit(const cpl_propertylist *plist)
find out the DIT value
Definition: eris_pfits.c:117
double eris_pfits_get_crval3(const cpl_propertylist *plist)
find out the character string associated to the CVRVAL3 keyword
Definition: eris_pfits.c:699
double eris_pfits_get_airmass_end(const cpl_propertylist *aHeaders)
find out the airmass at end of exposure
Definition: eris_pfits.c:783
const char * eris_pfits_get_ancestor(const cpl_propertylist *aHeaders)
find out the ancestor of a file.
Definition: eris_pfits.c:65
const char * eris_pfits_get_progid(const cpl_propertylist *aHeaders)
find out the ESO program identification
Definition: eris_pfits.c:829
long eris_pfits_get_obsid(const cpl_propertylist *aHeaders)
find out the observation block id
Definition: eris_pfits.c:848
double eris_pfits_get_dit(const cpl_propertylist *)
find out the DIT value
Definition: eris_pfits.c:98
double eris_pfits_get_crpix3(const cpl_propertylist *plist)
find out the character string associated to the CRPIX3 keyword
Definition: eris_pfits.c:723