27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

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 84<br />

return FITS extension by name and (optionally) version number.<br />

• const ExtMap & extension () const<br />

return const reference to the extension container<br />

• Table & filter (const String &expression, ExtHDU &inputTable, bool overwrite=true,<br />

bool readData=false)<br />

Filter the rows of the inputTable with the condition expression, and return a reference<br />

to the resulting Table.<br />

• fitsfile ∗ fitsPointer () const<br />

return the CFITSIO fitsfile pointer for this FITS object<br />

• void flush ()<br />

flush buffer contents to disk<br />

• int getCompressionType () const<br />

Get the int specifying the compression algorithm to be used when adding an image<br />

extension.<br />

• int getNoiseBits () const<br />

Get the cfitsio noisebits parameter used when compressing floating-point images.<br />

• void getTileDimensions (std::vector< long > &tileSizes) const<br />

Get the current settings of dimension sizes for tiles used in image compression.<br />

• const String & name () const<br />

return filename of file corresponding to FITS object<br />

• const PHDU & pHDU () const<br />

return a const reference to the primary HDU.<br />

• PHDU & pHDU ()<br />

return a reference to the primary HDU.<br />

• void read (const String &hduName, bool readDataFlag=false, const std::vector<<br />

String > &keys=std::vector< String >(), int version=1)<br />

get data from single HDU from disk file.<br />

• void read (const std::vector< String > &hduNames, bool readDataFlag=false)<br />

get data from a set of HDUs from disk file.<br />

• void read (const std::vector< String > &hduNames, const std::vector< std-<br />

::vector< String > > &keys, bool readDataFlag=false, const std::vector< int<br />

> &hduVersions=std::vector< int >())<br />

get data from a set of HDUs from disk file, specifying keys and version numbers.<br />

• void read (int hduIndex, bool readDataFlag=false, const std::vector< String ><br />

&keys=std::vector< String >())<br />

read an HDU specified by index number.<br />

• void read (const std::vector< String > &searchKeys, const std::vector< String<br />

> &searchValues, bool readDataFlag=false, const std::vector< String > &hdu-<br />

Keys=std::vector< String >(), int version=1)<br />

read method for read header or HDU that contains specified keywords.<br />

• void resetPosition ()<br />

Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!