|
GLAMERDOC++
Gravitational Lensing Code Library
|
read only fits file interface More...
#include <cpfits.h>
Public Member Functions | |
| CPFITS_READ (std::string filename, std::string extension="", bool verbose=false) | |
| CPFITS_READ (CPFITS_READ &&ff) | |
| void | operator= (CPFITS_READ &&ff) |
| void | reset (std::string filename, std::string extension="") |
| close old and reopen a new file | |
| int | read (std::vector< double > &output, std::vector< long > &size) |
| read the whole image into a vector | |
| int | read (std::vector< float > &output, std::vector< long > &size) |
| read the whole image into a vector | |
| int | read (std::valarray< float > &output, std::vector< long > &size) |
| read the whole image into a valarray | |
| int | read (std::valarray< double > &output, std::vector< long > &sizes) |
| template<typename T> | |
| int | read (std::vector< std::vector< T > > &output) |
| read the whole image into a vector | |
| int | read_block (double *output, long nelements, long *start) |
| read the whole image into a vector | |
| int | read_block (float *output, long nelements, long *start) |
| int | read_subset (double *output, long *lowerleft, long *upperright) |
| read a rectangular subset of the image | |
| int | read_subset (float *output, long *lowerleft, long *upperright) |
| read a rectangular subset of the image | |
read only fits file interface
|
inline |
read the whole image into a vector
read nelements in order from image to output array