#include "fitsio.h"
#include "Obit.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitInfoList.h"
#include "ObitFile.h"
Go to the source code of this file.
Classes | |
| struct | ObitFileFITS |
| ObitFileFITS Class. More... | |
| struct | ObitFileFITSClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitFileFITSUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitFileFITS returns a ObitFileFITS*. | |
| #define | ObitFileFITSRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitFileFITS. | |
| #define | ObitFileFITSIsA(in) ObitIsA (in, ObitFileFITSGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Functions | |
| void | ObitFileFITSClassInit (void) |
| Public: Class initializer. | |
| ObitFileFITS * | newObitFileFITS (gchar *name) |
| Public: Constructor. | |
| gconstpointer | ObitFileFITSGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitFileFITS * | ObitFileFITSZap (ObitFileFITS *in, ObitErr *err) |
| Public: destroy. | |
| ObitIOCode | ObitFileFITSZapHDU (ObitFileFITS *in, ObitErr *err) |
| Public: Destroy current HDU. | |
| ObitFileFITS * | ObitFileFITSCopy (ObitFileFITS *in, ObitFileFITS *out, ObitErr *err) |
| Public: Copy constructor. | |
| ObitIOCode | ObitFileFITSOpen (ObitFileFITS *in, gchar *fileName, gint disk, ObitIOAccess access, ObitErr *err) |
| Public: Open. | |
| ObitIOCode | ObitFileFITSClose (ObitFileFITS *in, ObitErr *err) |
| Public: Close. | |
| gboolean | ObitFileFITSExist (gchar *fileName, ObitErr *err) |
| Public: Does a given file exist? | |
| ObitIOCode | ObitFileFITSNum (ObitFileFITS *in, gint hdunum, gint *hdutype, ObitErr *err) |
| Public: Position to given extention number. | |
| ObitIOCode | ObitFileFITSName (ObitFileFITS *in, gint hdutype, gchar *extname, gint extver, ObitErr *err) |
| Public: Position to given extention name. | |
| ObitIOCode | ObitFileFITSReadKeyStr (ObitFileFITS *in, gchar *Name, gchar *Value, gchar *Comment, ObitErr *err) |
| Public: Read String keyword. | |
| ObitIOCode | ObitFileFITSReadKeyFlt (ObitFileFITS *in, gchar *Name, gfloat *Value, gchar *Comment, ObitErr *err) |
| Public: Read float keyword. | |
| ObitIOCode | ObitFileFITSReadKeyDbl (ObitFileFITS *in, gchar *Name, gdouble *Value, gchar *Comment, ObitErr *err) |
| Public: Read double keyword. | |
| ObitIOCode | ObitFileFITSReadKeyLng (ObitFileFITS *in, gchar *Name, glong *Value, gchar *Comment, ObitErr *err) |
| Public: Read long keyword. | |
| ObitIOCode | ObitFileFITSReadHistory (ObitFileFITS *in, gchar *hiCard, ObitErr *err) |
| Public: Read next HISTORY header card. | |
| ObitIOCode | ObitFileFITSWriteKeyStr (ObitFileFITS *in, gchar *Name, gboolean update, gchar *Value, gchar *Comment, ObitErr *err) |
| Public: Write String keyword. | |
| ObitIOCode | ObitFileFITSWriteKeyFlt (ObitFileFITS *in, gchar *Name, gboolean update, gfloat Value, gchar *Comment, ObitErr *err) |
| Public: Write float keyword. | |
| ObitIOCode | ObitFileFITSWriteKeyDbl (ObitFileFITS *in, gchar *Name, gboolean update, gdouble Value, gchar *Comment, ObitErr *err) |
| Public: Write double keyword. | |
| ObitIOCode | ObitFileFITSWriteKeyLng (ObitFileFITS *in, gchar *Name, gboolean update, glong Value, gchar *Comment, ObitErr *err) |
| Public: Write long keyword. | |
| ObitIOCode | ObitFileFITSWriteHisKeyStr (fitsfile *inFptr, gchar *Name, gchar *Value, gchar *Comment, ObitErr *err) |
| Public: Write String HISTORY keyword. | |
| ObitIOCode | ObitFileFITSWriteHisKeyFlt (fitsfile *inFptr, gchar *Name, gfloat Value, gchar *Comment, ObitErr *err) |
| Public: Write float HISTORY keyword. | |
| ObitIOCode | ObitFileFITSWriteHisKeyDbl (fitsfile *inFptr, gchar *Name, gdouble Value, gchar *Comment, ObitErr *err) |
| Public: Write double HISTORY keyword. | |
| ObitIOCode | ObitFileFITSWriteHisKeyLng (fitsfile *inFptr, gchar *Name, glong Value, gchar *Comment, ObitErr *err) |
| Public: Write long HISTORY keyword. | |
| ObitIOCode | ObitFileFITSWriteDate (ObitFileFITS *in, ObitErr *err) |
| Public: Write Date keyword. | |
| ObitIOCode | ObitFileFITSWriteHistory (ObitFileFITS *in, gchar *hiCard, ObitErr *err) |
| Public: Write next HISTORY header card. | |
| ObitIOCode | ObitFileFITSAddKeys (ObitFileFITS *in, gint morekeys, ObitErr *err) |
| Public: Expand the current HDR by a specified number of keywords. | |
This class is derived from the ObitFile class.
This class provides an I/O interface to FITS files. This implementation uses cfitsio. The structure is also defined in ObitFileFITSDef.h to allow recursive definition in derived classes.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitFileFITS. returns a ObitFileFITS*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitFileFITS returns a ObitFileFITS*. in = object to unreference |
|
|
Public: Constructor. Initializes class if needed on first call.
|
|
||||||||||||||||
|
Public: Expand the current HDR by a specified number of keywords.
|
|
|
Public: Class initializer.
|
|
||||||||||||
|
Public: Close.
|
|
||||||||||||||||
|
Public: Copy constructor. The result will have pointers to the more complex members. Parent class members are included but any derived class info is ignored. The contents of any files are not modified.
|
|
||||||||||||
|
Public: Does a given file exist?
|
|
|
Public: ClassInfo pointer. Initializes class if needed on first call.
|
|
||||||||||||||||||||||||
|
Public: Position to given extention name.
|
|
||||||||||||||||||||
|
Public: Position to given extention number.
|
|
||||||||||||||||||||||||
|
Public: Open. The file will be positioned at the beginning.
|
|
||||||||||||||||
|
Public: Read next HISTORY header card.
|
|
||||||||||||||||||||||||
|
Public: Read double keyword.
|
|
||||||||||||||||||||||||
|
Public: Read float keyword.
|
|
||||||||||||||||||||||||
|
Public: Read long keyword.
|
|
||||||||||||||||||||||||
|
Public: Read String keyword.
|
|
||||||||||||
|
Public: Write Date keyword.
|
|
||||||||||||||||||||||||
|
Public: Write double HISTORY keyword. "AIPS NAXIS ", exact match) The card will be updated or created.
|
|
||||||||||||||||||||||||
|
Public: Write float HISTORY keyword. "AIPS NAXIS ", exact match) The card will be updated or created.
|
|
||||||||||||||||||||||||
|
Public: Write long HISTORY keyword. "AIPS NAXIS ", exact match) The card will be updated or created.
|
|
||||||||||||||||||||||||
|
Public: Write String HISTORY keyword. "AIPS NAXIS ", exact match) The card will be updated or created.
|
|
||||||||||||||||
|
Public: Write next HISTORY header card.
|
|
||||||||||||||||||||||||||||
|
Public: Write double keyword.
|
|
||||||||||||||||||||||||||||
|
Public: Write float keyword.
|
|
||||||||||||||||||||||||||||
|
Public: Write long keyword.
|
|
||||||||||||||||||||||||||||
|
Public: Write String keyword.
|
|
||||||||||||
|
Public: destroy. Objust must have been fully instantiated (opened) first
|
|
||||||||||||
|
Public: Destroy current HDU. Object must have been fully instantiated (opened) first Refuses for the first (main) HDU
|
1.3.9.1