Changeset 15111 for branches/pap_branch_070920/psLib/src/fits/psFits.h
- Timestamp:
- Sep 29, 2007, 11:55:41 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_070920/psLib/src/fits/psFits.h
r14984 r15111 4 4 * @author Robert DeSonia, MHPCC 5 5 * 6 * @version $Revision: 1.31.2. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-09-2 2 03:06:16$6 * @version $Revision: 1.31.2.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-09-29 21:55:41 $ 8 8 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 9 9 */ … … 51 51 * 52 52 */ 53 typedef struct 54 { 53 typedef struct { 55 54 fitsfile* fd; ///< the CFITSIO fits files handle. 56 55 bool writable; ///< Is the file writable? 57 56 char *extword; ///< user-specified word to name extensions (NULL implies EXTNAME) 58 } 59 psFits; 60 61 /** FITS options object. */ 62 typedef struct 63 { 57 } psFits; 58 59 /** FITS compression settings. */ 60 typedef struct { 64 61 psFitsCompressionType type; ///< type of compression 65 62 psVector *tilesize; ///< vector defining compression tile size … … 67 64 int scale; ///< hcompress scale 68 65 int smooth; ///< hcompress smothing 69 } 70 psFitsOptions; 66 } psFitsCompression; 71 67 72 68 /** Opens a FITS file and allocates the associated psFits object. … … 116 112 * @return psFitsOptions or NULL on failure 117 113 */ 118 psFits Options* psFitsOptionsAlloc(114 psFitsCompression* psFitsCompressionAlloc( 119 115 psFitsCompressionType type, ///< type of compression 120 116 psVector *tilesize, ///< vector defining compression tile size … … 123 119 int smooth ///< hcompress smothing 124 120 ); 121 122 /// Return the FITS compression type specified by a string 123 psFitsCompressionType psFitsCompressionTypeFromString( 124 const char *string ///< String with compression type 125 ); 125 126 126 127 /** Closes a FITS file. … … 151 152 * @return bool TRUE if successfully configured, otherwise FALSE 152 153 */ 153 bool psFits SetOptions(154 bool psFitsCompressionApply( 154 155 psFits* fits, ///< psFits object to close 155 psFits Options *opt///< options object156 psFitsCompression *compress ///< options object 156 157 ); 157 158
Note:
See TracChangeset
for help on using the changeset viewer.
