Changeset 16141 for branches/pap_branch_080117/psLib/src/fits/psFits.h
- Timestamp:
- Jan 18, 2008, 3:04:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080117/psLib/src/fits/psFits.h
r16131 r16141 4 4 * @author Robert DeSonia, MHPCC 5 5 * 6 * @version $Revision: 1.35.2. 2$ $Name: not supported by cvs2svn $7 * @date $Date: 2008-01-1 8 03:37:50$6 * @version $Revision: 1.35.2.3 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2008-01-19 01:04:13 $ 8 8 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 9 9 */ … … 43 43 } psFitsCompressionType; 44 44 45 /// FITS scaling : how to set BSCALE and BZERO45 /// FITS scaling method: how to set BSCALE and BZERO 46 46 typedef enum { 47 47 PS_FITS_SCALE_NONE, ///< No auto-scaling to be applied (BSCALE = 1, BZERO = 0) … … 53 53 } psFitsScaling; 54 54 55 /** FITS file object. 56 * 57 * This object should be considered opaque to the user; no item in this 58 * struct should be accessed directly. 59 * 60 */ 55 /// Options for FITS I/O 61 56 typedef struct { 62 fitsfile* fd; ///< the CFITSIO fits files handle.63 bool writable; ///< Is the file writable?64 57 char *extword; ///< user-specified word to name extensions (NULL implies EXTNAME) 65 58 struct { … … 72 65 psFitsScaling scaling; ///< Scaling scheme to use when quantising floating-point values 73 66 bool fuzz; ///< Fuzz the values when quantising floating-point values? 74 double bscale, bzero; ///< Manually specified BSCALE and BZERO ( SCALE_MANUAL)67 double bscale, bzero; ///< Manually specified BSCALE and BZERO (for SCALE_MANUAL) 75 68 double mean, stdev; ///< Mean and standard deviation of image 76 int stdevBits; ///< Number of bits to sample a standard deviation ( SCALE_STDEV)69 int stdevBits; ///< Number of bits to sample a standard deviation (for SCALE_STDEV_*) 77 70 float stdevNum; ///< Number of standard deviations to pad off the edge 71 } psFitsOptions; 72 73 74 /// FITS file 75 typedef struct { 76 fitsfile* fd; ///< the CFITSIO fits files handle. 77 bool writable; ///< Is the file writable? 78 psFitsOptions *options; ///< Options for FITS I/O, or NULL 78 79 } psFits; 80 79 81 80 82 /** FITS compression settings. */ … … 154 156 ); 155 157 158 /// Allocator for options 159 psFitsOptions *psFitsOptionsAlloc(void); 160 156 161 /** Enables/configures FITS compression. 157 162 *
Note:
See TracChangeset
for help on using the changeset viewer.
