CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
24.14 <strong>CCfits</strong>::FITS Class Reference 85<br />
explicit call to set the fits file pointer to the primary.<br />
• void setCompressionType (int compType)<br />
set the compression algorithm to be used when adding image extensions to the FITS<br />
object.<br />
• void setNoiseBits (int noiseBits)<br />
Set the cfitsio noisebits parameter used when compressing floating-point images.<br />
• void setTileDimensions (const std::vector< long > &tileSizes)<br />
Set the dimensions of the tiles into which the image is divided during compression.<br />
Static Public Member Functions<br />
• static void clearErrors ()<br />
clear the error stack and set status to zero.<br />
• static void setVerboseMode (bool value)<br />
set verbose setting for library<br />
• static bool verboseMode ()<br />
return verbose setting for library<br />
24.14.1 Detailed Description<br />
Memory object representation of a disk FITS file.<br />
Constructors are provided to get FITS data from an existing file or to create new FITS<br />
data sets. Overloaded versions allow the user to<br />
a) read from one or more specified extensions, specified by EXTNAME and VERSION<br />
or by HDU number. b either just header information or data on construction c) to specify<br />
scalar keyword values to be read on construction d) to open and read an extension<br />
that has specified keyword values e) create a new FITS object and corresponding file,<br />
including an empty primary header.<br />
The memory fits object as constructed is always an image of a valid FITS object, i.e. a<br />
primary HDU is created on construction.<br />
calling the destructor closes the disk file, so that FITS files are automatically deleted at<br />
the end of scope unless other arrangements are made.<br />
24.14.2 Constructor & Destructor Documentation<br />
24.14.2.1 <strong>CCfits</strong>::FITS::FITS ( const String & name, RWmode mode = Read, bool<br />
readDataFlag = false, const std::vector< String > & primaryKeys =<br />
std::vector() )<br />
basic constructor<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen