Main Page | Class List | Directories | File List | Class Members | File Members

ObitIOImageFITS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOImageFITS.h,v 1.8 2007/08/31 17:24:48 bcotton Exp $   */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;                                                                   */
00006 /*;  This program is free software; you can redistribute it and/or    */
00007 /*;  modify it under the terms of the GNU General Public License as   */
00008 /*;  published by the Free Software Foundation; either version 2 of   */
00009 /*;  the License, or (at your option) any later version.              */
00010 /*;                                                                   */
00011 /*;  This program is distributed in the hope that it will be useful,  */
00012 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00013 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00014 /*;  GNU General Public License for more details.                     */
00015 /*;                                                                   */
00016 /*;  You should have received a copy of the GNU General Public        */
00017 /*;  License along with this program; if not, write to the Free       */
00018 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00019 /*;  MA 02139, USA.                                                   */
00020 /*;                                                                   */
00021 /*;Correspondence about this software should be addressed as follows: */
00022 /*;         Internet email: bcotton@nrao.edu.                         */
00023 /*;         Postal address: William Cotton                            */
00024 /*;                         National Radio Astronomy Observatory      */
00025 /*;                         520 Edgemont Road                         */
00026 /*;                         Charlottesville, VA 22903-2475 USA        */
00027 /*--------------------------------------------------------------------*/
00028 #ifndef OBITIOIMAGEFITS_H 
00029 #define OBITIOIMAGEFITS_H 
00030 #include "fitsio.h"
00031 #include "ObitIO.h"
00032 #include "ObitImageDesc.h"
00033 
00034 
00035 /*-------- ObitIO: Software for the recently deceased ------------------*/
00066 /*--------------Class definitions-------------------------------------*/
00068 typedef struct {
00069   #include "ObitIOImageFITSDef.h" /* class definition */
00070 } ObitIOImageFITS;
00071 
00072 /*------------------- Macroes ----------------------------------------*/
00078 #define ObitIOImageFITSUnref(in) ObitUnref (in)
00079 
00085 #define IOImageFITSRef(in) ObitRef (in)
00086 
00093 #define IOImageFITSIsA(in) ObitIsA (in, IOImageFITSGetClass())
00094 
00095 /* Private functions are only defined in the .c file */
00096 
00097 /*---------------Public functions---------------------------*/
00099 void ObitIOImageFITSClassInit (void);
00100 
00102 ObitIOImageFITS* newObitIOImageFITS (gchar* name, ObitInfoList *info,
00103                                      ObitErr *err);
00104 
00106 gconstpointer ObitIOImageFITSGetClass (void);
00107 
00109 gboolean ObitIOImageFITSSame (ObitIO *in, ObitInfoList *in1, 
00110                               ObitInfoList *in2, ObitErr *err);
00111 
00113 void ObitIOImageFITSRename  (ObitIO *in, ObitInfoList *info, ObitErr *err);
00114 
00116 void ObitIOImageFITSZap  (ObitIOImageFITS *in, ObitErr *err);
00117 
00119 ObitIOImageFITS* ObitIOImageFITSCopy  (ObitIOImageFITS *in, 
00120                                        ObitIOImageFITS *out, ObitErr *err);
00122 ObitIOImageFITS* freeObitIOImageFITS (ObitIOImageFITS *in);
00123 
00125 ObitIOCode ObitIOImageFITSOpen (ObitIOImageFITS *in, ObitIOAccess access, 
00126                                 ObitInfoList *info, ObitErr *err);
00127 
00129 ObitIOCode ObitIOImageFITSClose (ObitIOImageFITS *in, ObitErr *err);
00130 
00132 ObitIOCode ObitIOImageFITSSet (ObitIOImageFITS *in, ObitInfoList *info, 
00133                                ObitErr *err);
00134 
00136 ObitIOCode ObitIOImageFITSRead (ObitIOImageFITS *in, gfloat *data, 
00137                                 ObitErr *err);
00138 
00140 ObitIOCode ObitIOImageFITSWrite (ObitIOImageFITS *in, gfloat *data, 
00141                                  ObitErr *err);
00142 
00144 ObitIOCode ObitIOImageFITSFlush (ObitIOImageFITS *in, ObitErr *err);
00145 
00147 ObitIOCode ObitIOImageFITSReadDescriptor (ObitIOImageFITS *in, ObitErr *err);
00148 
00150 ObitIOCode ObitIOImageFITSWriteDescriptor (ObitIOImageFITS *in, ObitErr *err);
00151 
00153 void
00154 ObitIOImageFITSCreateBuffer (gfloat **data, glong *size, 
00155                              ObitIOImageFITS *in, ObitInfoList *info, 
00156                              ObitErr *err);
00157 
00160 Obit* 
00161 newObitIOImageFITSTable (ObitIOImageFITS *in, ObitIOAccess access, 
00162                          gchar *tabType, glong *tabVer, ObitErr *err);
00163 
00165 ObitIOCode ObitIOImageFITSUpdateTables (ObitIOImageFITS *in, ObitInfoList *info,
00166                                         ObitErr *err);
00167 
00169 void ObitIOImageFITSUpdateScale (ObitIOImageFITS *in, gfloat quant,
00170                                        ObitErr *err);
00171 /*---------------Class Info--------------------------*/
00177 typedef struct  {
00178 #include "ObitIOImageFITSClassDef.h" /* Actual definition */
00179 } ObitIOImageFITSClassInfo; 
00180 
00181 #endif /* OBITIOIMAGEFITS_H */ 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1