OMEGA Pipeline Reference Manual
1.0.5
Main Page
Related Pages
Modules
Files
File List
omega
omega_fits.h
1
/* $Id: omega_fits.h,v 1.1.1.1 2011-03-16 11:59:34 agabasch Exp $
2
*
3
* This file is part of the OMEGA Pipeline
4
* Copyright (C) 2005 Cambridge Astronomy Survey Unit
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
21
/*
22
* $Author: agabasch $
23
* $Date: 2011-03-16 11:59:34 $
24
* $Revision: 1.1.1.1 $
25
* $Name: not supported by cvs2svn $
26
*/
27
28
29
/* Includes */
30
31
#ifndef OMEGA_FITS_H
32
#define OMEGA_FITS_H
33
34
#include <cpl.h>
35
36
/* OMEGA FITS structure. */
37
38
typedef
struct
{
39
cpl_frame *frame;
40
cpl_image *image;
41
cpl_propertylist *phu;
42
cpl_propertylist *ehu;
43
char
*fname;
44
char
*extname;
45
char
*fullname;
46
int
extnum;
47
int
status;
48
} omega_fits;
49
50
/* OMEGA_FITS methods prototypes */
51
52
extern
omega_fits *
omega_fits_load
(
const
cpl_frame *frame, cpl_type type,
int
extnum);
53
extern
omega_fits *
omega_fits_duplicate
(omega_fits *in);
54
extern
omega_fits **
omega_fits_load_list
(
const
cpl_frameset *f, cpl_type type,
55
int
exten);
56
extern
void
omega_fits_delete
(omega_fits *p);
57
extern
void
omega_fits_delete_list
(omega_fits **p,
int
n);
58
extern
cpl_frame *
omega_fits_get_frame
(omega_fits *p);
59
extern
cpl_image *
omega_fits_get_image
(omega_fits *p);
60
extern
int
omega_fits_get_extnum
(omega_fits *p);
61
extern
char
*
omega_fits_get_filename
(omega_fits *p);
62
extern
cpl_propertylist *
omega_fits_get_phu
(omega_fits *p);
63
extern
cpl_propertylist *
omega_fits_get_ehu
(omega_fits *p);
64
extern
char
*
omega_fits_get_extname
(omega_fits *p);
65
extern
char
*
omega_fits_get_fullname
(omega_fits *p);
66
extern
int
omega_fits_get_status
(omega_fits *p);
67
extern
int
omega_fits_set_error
(omega_fits *p,
int
status);
68
extern
void
omega_fits_set_filename
(omega_fits *p,
char
*fname);
69
extern
omega_fits *
omega_fits_wrap
(cpl_image *im, omega_fits *model,
70
cpl_propertylist *phu,
71
cpl_propertylist *ehu);
72
#endif
Generated by
1.8.1.1