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