276         virtual void readData (
bool readFlag = 
false, 
const std::vector<String>& keys = std::vector<String>()) = 0;
 
  278         virtual void zero (
double value);
 
  279         virtual void scale (
double value);
 
  280         virtual double zero () 
const;
 
  281         virtual double scale () 
const;
 
  301         template <
typename S>
 
  302         void write(
const std::vector<long>& first,
 
  304                         const std::valarray<S>& data,
 
  308         template <
typename S>
 
  309         void write(
long first,
 
  311                         const std::valarray<S>& data,
 
  315         template <
typename S>
 
  316         void write(
const std::vector<long>& first,
 
  318                         const std::valarray<S>& data);
 
  321         template <
typename S>
 
  322         void write(
long first,
 
  324                         const std::valarray<S>& data);
 
  326         template <
typename S>
 
  327         void write(
const std::vector<long>& firstVertex,
 
  328                         const std::vector<long>& lastVertex,
 
  329                         const std::vector<long>& stride, 
 
  330                         const std::valarray<S>& data); 
 
  336         void read(std::valarray<S>& image) ; 
 
  339         void  read (std::valarray<S>& image, 
long first,
long nElements); 
 
  342         void read (std::valarray<S>& image, 
long first,
long nElements, S* nullValue) ; 
 
  345         void read (std::valarray<S>& image, 
const std::vector<long>& first,
long nElements)  ; 
 
  348         void read (std::valarray<S>& image, 
const std::vector<long>& first, 
long nElements, 
 
  352         void read (std::valarray<S>& image, 
const std::vector<long>& firstVertex, 
 
  353                 const std::vector<long>& lastVertex, 
 
  354                 const std::vector<long>& stride)  ;      
 
  357         void read (std::valarray<S>& image, 
const std::vector<long>& firstVertex, 
 
  358                 const std::vector<long>& lastVertex, 
 
  359                 const std::vector<long>& stride, 
 
  367         PHDU (
FITS* p, 
int bpix, 
int naxis, 
const std::vector<long>& 
axes);
 
virtual ~PHDU()
destructor 
Definition: PHDU.cxx:69
virtual void initRead()
Definition: PHDU.cxx:75
bool simple() const 
Returns the value of the Primary's SIMPLE keyword. 
Definition: PHDU.h:393
bool extend() const 
Returns the value of the Primary's EXTEND keyword. 
Definition: PHDU.h:403
Base class for all HDU [Header-Data Unit] objects. 
Definition: HDU.h:673
Memory object representation of a disk FITS file. 
Definition: FITS.h:628
virtual double scale() const 
return the BSCALE keyword value 
Definition: PHDU.cxx:166
void write(const std::vector< long > &first, long nElements, const std::valarray< S > &data, S *nullValue)
Write a set of pixels to an image extension with the first pixel specified by an n-tuple, processing undefined data. 
Definition: PHDUT.h:430
PHDU(const PHDU &right)
copy constructor 
Definition: PHDU.cxx:20
virtual PHDU * clone(FITS *p) const =0
virtual copy constructor for Primary HDUs. 
long axes() const 
return the number of axes in the HDU data section (always 2 for tables). 
Definition: HDU.h:978
virtual double zero() const 
return the BZERO keyword value 
Definition: PHDU.cxx:160
class representing the primary HDU for a FITS file. 
Definition: PHDU.h:267
virtual void readData(bool readFlag=false, const std::vector< String > &keys=std::vector< String >())=0
read primary HDU data