CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
24.14 <strong>CCfits</strong>::FITS Class Reference 94<br />
Parameters<br />
searchKeys A string vector of keywords to search for in each header<br />
search- A string vector of values those keywords are required to have for success.<br />
Note that the keys must be of type string. If any value does<br />
Values<br />
not need to be checked the corresponding searchValue element can be<br />
empty.<br />
readData- boolean: if true, read data if HDU is found<br />
Flag<br />
hduKeys Allows optional reading of keys in the HDU that is searched for if it is<br />
successfully found<br />
version Optional version number. If specified, checks the EXTVERS keyword.<br />
24.14.3.17 void <strong>CCfits</strong>::FITS::setCompressionType ( int compType )<br />
set the compression algorithm to be used when adding image extensions to the FITS<br />
object.<br />
Parameters<br />
compType Currently 3 symbolic constants are defined in cfitsio for specifying<br />
compression algorithms: GZIP_1, RICE_1, and PLIO_1. See the<br />
cfitsio documentation for more information about these algorithms. -<br />
Entering NULL for compType will turn off compression and cause normal<br />
FITS images to be written.<br />
24.14.3.18 void <strong>CCfits</strong>::FITS::setNoiseBits ( int noiseBits )<br />
Set the cfitsio noisebits parameter used when compressing floating-point images.<br />
The default value is 4. Decreasing the value of noisebits will improve the overall<br />
compression efficiency at the expense of losing more information.<br />
24.14.3.19 void <strong>CCfits</strong>::FITS::setTileDimensions ( const std::vector< long > & tileSizes )<br />
Set the dimensions of the tiles into which the image is divided during compression.<br />
Parameters<br />
tileSizes A vector of length N containing the tile dimesions. If N is less than<br />
the number of dimensions of the image it is applied to, the unspecified<br />
dimensions will be assigned a size of 1 pixel. If N is larger than the<br />
number of image dimensions, the extra dimensions will be ignored.<br />
The default cfitsio behavior is to create tiles with dimensions NAXIS1 x 1 x 1 etc. up<br />
to the number of image dimensions.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen