97 const double* pixels) :
122 const double* pixels) :
148 const int& nt,
const double* pixels) :
172 const double* pixels) :
267 if (
this != &image) {
367 const int& iz,
const int& it)
459 const int& iz,
const int& it)
const
656 const int& iz,
const int& it)
const
677 return (
double(this->
at(ix)));
693 return (
double(this->
at(ix,iy)));
710 return (
double(this->
at(ix,iy,iz)));
729 return (
double(this->
at(ix,iy,iz,it)));
789 bool not_loaded = (image.
m_pixels == NULL);
806 #if defined(G_SMALL_MEMORY)
904 if (pixels == NULL) {
Double precision FITS image class definition.
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
double & at(const int &ix)
Image pixel access operator.
void copy_members(const GFitsImageDouble &image)
Copy class members.
void free_members(void)
Delete class members.
double & operator()(const int &ix)
Image pixel access operator.
#define G_BITPIX
Defines the number of bits per pixel.
double * m_nulval
NULL value.
int type(void) const
Return image type.
int m_num_pixels
Number of image pixels.
GFitsImageDouble(void)
Void constructor.
void load_data(void) const
Load data.
long * m_naxes
Number of pixels in each dimension.
void * pixels(void)
Return pointer to image pixel.
Double precision FITS image class.
CFITSIO interface header.
double pixel(const int &ix) const
Return value of image pixel.
virtual double pixel(const int &ix) const =0
void fetch_data(void)
Fetch image pixels.
void init_members(void)
Initialise class members.
void init_members(void)
Initialise class members.
void release_data(void)
Release data.
GFitsImageDouble & operator=(const GFitsImageDouble &image)
Assignment operator.
void alloc_data(void)
Allocate data.
void init_members(void)
Initialise class members.
virtual ~GFitsImageDouble(void)
Destructor.
int m_bitpix
Number of Bits/pixel.
Exception handler interface definition.
GFitsImage & operator=(const GFitsImage &image)
Assignment operator.
GFitsImageDouble * clone(void) const
Clone FITS image.
void clear(void)
Clear instance.
void free_members(void)
Delete class members.
GFitsHeaderCard & card(const int &cardno)
Return header card.
void alloc_nulval(const void *value)
Allocates nul value.
void construct_data(const double *pixels)
Construct data from array.
void free_members(void)
Delete class members.
void init_data(void)
Initialise data.