276 virtual void readData (
bool readFlag =
false,
const std::vector<String>& keys = std::vector<String>()) = 0;
278 virtual void zero (
double value);
279 virtual void scale (
double value);
280 virtual double zero ()
const;
281 virtual double scale ()
const;
301 template <
typename S>
302 void write(
const std::vector<long>& first,
304 const std::valarray<S>& data,
308 template <
typename S>
309 void write(
long first,
311 const std::valarray<S>& data,
315 template <
typename S>
316 void write(
const std::vector<long>& first,
318 const std::valarray<S>& data);
321 template <
typename S>
322 void write(
long first,
324 const std::valarray<S>& data);
326 template <
typename S>
327 void write(
const std::vector<long>& firstVertex,
328 const std::vector<long>& lastVertex,
329 const std::vector<long>& stride,
330 const std::valarray<S>& data);
336 void read(std::valarray<S>& image) ;
339 void read (std::valarray<S>& image,
long first,
long nElements);
342 void read (std::valarray<S>& image,
long first,
long nElements, S* nullValue) ;
345 void read (std::valarray<S>& image,
const std::vector<long>& first,
long nElements) ;
348 void read (std::valarray<S>& image,
const std::vector<long>& first,
long nElements,
352 void read (std::valarray<S>& image,
const std::vector<long>& firstVertex,
353 const std::vector<long>& lastVertex,
354 const std::vector<long>& stride) ;
357 void read (std::valarray<S>& image,
const std::vector<long>& firstVertex,
358 const std::vector<long>& lastVertex,
359 const std::vector<long>& stride,
367 PHDU (
FITS* p,
int bpix,
int naxis,
const std::vector<long>&
axes);
void write(const std::vector< long > &first, long nElements, const std::valarray< S > &data, S *nullValue)
Write a set of pixels to an image extension with the first pixel specified by an n-tuple,...
Definition PHDUT.h:430