Open a FITS file and retrieve the first plane of the image array as a TImage object.
void FITS_tutorial3()
{
auto c =
new TCanvas(
"c1",
"FITS tutorial #1", 800, 700);
for (
auto i :
ROOT::TSeqI(1, 6)) {
TFITSHDU hdu(dir +
"/fitsio/sample3.fits", i);
}
}
FITS file interface class.
An abstract interface to image processing library.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
- Author
- Claudi Martinez
Definition in file FITS_tutorial3.C.