121 const long* pixels) :
147 const int& nt,
const long* pixels) :
171 const long* pixels) :
264 if (
this != &image) {
363 const int& iz,
const int& it)
455 const int& iz,
const int& it)
const
652 const int& iz,
const int& it)
const
673 return (
double(this->
at(ix)));
689 return (
double(this->
at(ix,iy)));
706 return (
double(this->
at(ix,iy,iz)));
725 return (
double(this->
at(ix,iy,iz,it)));
785 bool not_loaded = (image.
m_pixels == NULL);
802 #if defined(G_SMALL_MEMORY)
900 if (pixels == NULL) {
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
void init_members(void)
Initialise class members.
long * m_nulval
NULL value.
long & at(const int &ix)
Image pixel access operator.
double pixel(const int &ix) const
Return value of image pixel.
long & operator()(const int &ix)
Image pixel access operator.
void copy_members(const GFitsImageLong &image)
Copy class members.
void alloc_data(void)
Allocate data.
GFitsImageLong(void)
Void constructor.
GFitsImageLong & operator=(const GFitsImageLong &image)
Assignment operator.
Long integer FITS image class definition.
int m_num_pixels
Number of image pixels.
long * m_naxes
Number of pixels in each dimension.
#define G_BITPIX
Defines the number of bits per pixel.
CFITSIO interface header.
virtual double pixel(const int &ix) const =0
void * pixels(void)
Return pointer to image pixel.
void release_data(void)
Release data.
void fetch_data(void)
Fetch image pixels.
void init_members(void)
Initialise class members.
virtual ~GFitsImageLong(void)
Destructor.
void init_members(void)
Initialise class members.
Long integer FITS image class.
void load_data(void) const
Load data.
void init_data(void)
Initialise data.
int m_bitpix
Number of Bits/pixel.
Exception handler interface definition.
GFitsImage & operator=(const GFitsImage &image)
Assignment operator.
GFitsImageLong * clone(void) const
Clone FITS image.
void construct_data(const long *pixels)
Construct data from array.
void free_members(void)
Delete class members.
int type(void) const
Return image type.
void clear(void)
Clear instance.
GFitsHeaderCard & card(const int &cardno)
Return header card.
void alloc_nulval(const void *value)
Allocates nul value.
void free_members(void)
Delete class members.
void free_members(void)
Delete class members.