00001 #ifndef _TASRW_H
00002 #define _TASRW_H
00003
00004 #include "fitsio.h"
00005
00006 typedef CFITSIO_IMAGE_INFO TASRW_FilePtrInfo_t;
00007 #define HUGE_HDU_THRESHOLD 3758096384
00008
00009 int fitsrw_readslice(int verbose,
00010 const char *filename,
00011 int *fpixel,
00012 int *lpixel,
00013 CFITSIO_IMAGE_INFO** image_info,
00014 void** image);
00015
00016 int fitsrw_writeslice(int verbose, const char *filename, int *fpixel, int *lpixel, void *image);
00017
00018 fitsfile *fitsrw_getfptr(int verbose, const char *filename, int writeable, int *status, int *fileCreated);
00019 fitsfile *fitsrw_getfptr_nochksum(int verbose, const char *filename, int writeable, int *status, int *fileCreated);
00020
00021 int fitsrw_closefptr(int verbose, fitsfile *fptr);
00022 int fitsrw_closefptrByName(int verbose, const char *filename);
00023 int fitsrw_closefptrs(int verbose);
00024 int fitsrw_getfpinfo_ext(fitsfile *fptr, CFITSIO_IMAGE_INFO *info);
00025 int fitsrw_setfpinfo_ext(fitsfile *fptr, CFITSIO_IMAGE_INFO *info);
00026 int fitsrw_iscompressed(const char *cparms);
00027 int fitsrw_initializeTAS(int verbose, const char *filename);
00028
00029 #endif
00030
00031