EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ writeRegion() [2/2]

template<typename T , long m, long n>
void Euclid::Cfitsio::ImageIo::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.

Parameters
subrasterThe subraster to be written
destinationThe destination position (size is deduced from subraster size)