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.39 <strong>CCfits</strong>::PHDU Class Reference 127<br />

destructor<br />

• virtual PHDU ∗ clone (FITSBase ∗p) const =0<br />

virtual copy constructor, to be implemented in subclasses.<br />

• bool extend () const<br />

Returns the value of the Primary’s EXTEND keyword.<br />

• template<br />

void read (std::valarray< S > &image, long first, long nElements)<br />

read an image section starting at a specified pixel<br />

• template<br />

void read (std::valarray< S > &image, long first, long nElements, S ∗null-<br />

Value)<br />

read part of an image array, processing null values.<br />

• template<br />

void read (std::valarray< S > &image, const std::vector< long > &first, long<br />

nElements)<br />

read an image section starting at a location specified by an n-tuple<br />

• template<br />

void read (std::valarray< S > &image, const std::vector< long > &first, long<br />

nElements, S ∗nullValue)<br />

read part of an image array, processing null values.<br />

• template<br />

void read (std::valarray< S > &image, const std::vector< long > &firstVertex,<br />

const std::vector< long > &lastVertex, const std::vector< long > &stride)<br />

read an image subset<br />

• template<br />

void read (std::valarray< S > &image, const std::vector< long > &firstVertex,<br />

const std::vector< long > &lastVertex, const std::vector< long > &stride, S<br />

∗nullValue)<br />

read an image subset into valarray image, processing null values<br />

• virtual void readData (bool readFlag=false, const std::vector< String > &keys=std-<br />

::vector< String >())=0<br />

read primary HDU data<br />

• virtual void scale (double value)<br />

set the BSCALE keyword value for images (see warning for images of int type)<br />

• virtual double scale () const<br />

return the BSCALE keyword value<br />

• bool simple () const<br />

Returns the value of the Primary’s SIMPLE keyword.<br />

• template<br />

void write (const std::vector< long > &first, long nElements, const std::valarray<<br />

S > &data, S ∗nullValue)<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!