EleFits
4.0.1
A modern C++ API on top of CFitsIO
|
Image-related functions.
Functions | |
const std::type_info & | readTypeid (fitsfile *fptr) |
Read the value type of the current image HDU. | |
template<long n = 2> | |
Fits::Position< n > | readShape (fitsfile *fptr) |
Read the shape of the current image HDU. | |
template<typename T , long n = 2> | |
void | updateShape (fitsfile *fptr, const Fits::Position< n > &shape) |
Reshape the current image HDU. | |
template<typename T , long n = 2> | |
Fits::VecRaster< T, n > | readRaster (fitsfile *fptr) |
Read the whole raster of the current image HDU. | |
template<typename T , long n = 2> | |
void | readRasterTo (fitsfile *fptr, Fits::Raster< T, n > &destination) |
Read the whole raster of the current image HDU into a pre-existing raster. | |
template<typename T , long n = 2> | |
void | readRasterTo (fitsfile *fptr, Fits::Subraster< T, n > &destination) |
Read the whole raster of the current image HDU into a pre-existing subraster. | |
template<typename T , long m, long n> | |
Fits::VecRaster< T, m > | readRegion (fitsfile *fptr, const Fits::Region< n > ®ion) |
Read a region of the current image HDU. | |
template<typename T , long m, long n> | |
void | readRegionTo (fitsfile *fptr, const Fits::Region< n > ®ion, Fits::Raster< T, m > &destination) |
Read a region of the current image HDU into a pre-existing raster. More... | |
template<typename T , long m, long n> | |
void | readRegionTo (fitsfile *fptr, const Fits::Region< n > ®ion, Fits::Subraster< T, m > &destination) |
Read a region of the current image HDU into a pre-existing subraster. More... | |
template<typename T , long n = 2> | |
void | writeRaster (fitsfile *fptr, const Fits::Raster< T, n > &raster) |
Write a whole raster in the current image HDU. | |
template<typename T , long m, long n> | |
void | writeRegion (fitsfile *fptr, const Fits::Raster< T, m > &raster, const Fits::Position< n > &destination) |
Write a whole raster into a region of the current image HDU. More... | |
template<typename T , long m, long n> | |
void | writeRegion (fitsfile *fptr, const Fits::Subraster< T, n > &subraster, const Fits::Position< n > &destination) |
Write a subraster into a region of the current image HDU. More... | |