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 87<br />
hduName, the HDU to be read. An object representing the primary HDU is always<br />
created: if it contains an image, that image may be read by subsequent calls.<br />
If extended file name syntax is used and selects an extension other than hduName, a<br />
FITS::OperationNotSupported exception will be thrown.<br />
Parameters<br />
name The name of the FITS file to be read<br />
mode The read/write mode: takes values Read or Write<br />
hduName The name of the HDU to be read.<br />
hduKeys Optional array of keywords to be read from the HDU<br />
version Optional version number. If not supplied the first HDU with name<br />
hduName is read see above for other parameter definitions<br />
24.14.2.3 <strong>CCfits</strong>::FITS::FITS ( const String & name, RWmode mode, const std::vector< String<br />
> & hduNames, bool readDataFlag = false, const std::vector< String > &<br />
primaryKey = std::vector() )<br />
This is intended as a convenience where the file consists of single versions of HDUs<br />
and data only, not keys are to be read.<br />
If extended file name syntax is used and selects an extension not listed in hduNames, a<br />
FITS::OperationNotSupported exception will be thrown.<br />
Parameters<br />
hduNames array of HDU names to be read.<br />
see above for other parameter definitions.<br />
24.14.2.4 <strong>CCfits</strong>::FITS::FITS ( const String & fileName, const FITS & source )<br />
create a new FITS object and corresponding file with copy of the primary header of<br />
the source If the filename corresponds to an existing file and does not start with the ’!’<br />
character the construction will fail with a CantCreate exception.<br />
Parameters<br />
fileName New file to be created.<br />
source A previously created FITS object to be copied.<br />
see above for other parameter definitions.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen