26 #ifndef ROOT_TMatrixDfwd
29 #ifndef ROOT_TVectorDfwd
105 TFITSHDU(
const char *filepath_with_filter);
107 TFITSHDU(
const char *filepath,
const char *extension_name);
112 struct HDURecord *
GetRecord(
const char *keyword);
TFITSHDU(const char *filepath_with_filter)
TFITSHDU constructor from file path with HDU selection filter.
void Draw(Option_t *opt="")
If the HDU is an image, draw the first layer of the primary array To set a title to the canvas...
TMatrixD * ReadAsMatrix(Int_t layer=0, Option_t *opt="")
Read image HDU as a matrix.
An abstract interface to image processing library.
void _release_resources()
Release internal resources.
Bool_t LoadHDU(TString &filepath_filter)
Load HDU from fits file satisfying the specified filter.
Array of integers (32 bits per element).
~TFITSHDU()
TFITSHDU destructor.
struct HDURecord * GetRecord(const char *keyword)
Get record by keyword.
#define ClassDef(name, id)
FITS file interface class.
void _initialize_me()
Do some initializations.
The TNamed class is the base class for all named ROOT classes.
void Print(const Option_t *opt="") const
Print metadata.
TVectorD * GetArrayRow(UInt_t row)
Get a row from the image HDU when it's a 2D array.
Int_t GetRecordNumber() const
void PrintHDUMetadata(const Option_t *opt="") const
Print records.
TObjArray * GetTabStringColumn(Int_t colnum)
Get a string-typed column from a table HDU given its column index (>=0).
TH1 * ReadAsHistogram()
Read image HDU as a histogram.
Bool_t Change(const char *filter)
Change to another HDU given by "filter".
void PrintFullTable(const Option_t *) const
Print full table contents.
Int_t GetTabNColumns() const
TVectorD * GetTabRealVectorColumn(Int_t colnum)
Get a real number-typed column from a table HDU given its column index (>=0).
Int_t GetTabNRows() const
void PrintFileMetadata(const Option_t *opt="") const
Print HDU's parent file's metadata.
A class to define a conversion from pixel values to pixel color.
Array of doubles (64 bits per element).
TVectorD * GetTabRealVectorCell(Int_t rownum, Int_t colnum)
Get a real vector embedded in a cell given by (row>=0, column>=0)
static void CleanFilePath(const char *filepath_with_filter, TString &dst)
TVectorD * GetArrayColumn(UInt_t col)
Get a column from the image HDU when it's a 2D array.
TString & GetKeywordValue(const char *keyword)
Get the value of a given keyword. Return "" if not found.
struct HDURecord * fRecords
const TString & GetColumnName(Int_t colnum)
Get the name of a column given its index (column>=0).
struct Column * fColumnsInfo
TObjArray * GetTabRealVectorCells(Int_t colnum)
Get a collection of real vectors embedded in cells along a given column from a table HDU...
void PrintColumnInfo(const Option_t *) const
Print column information.
TImage * ReadAsImage(Int_t layer=0, TImagePalette *pal=0)
Read image HDU as a displayable image.
Int_t GetColumnNumber(const char *colname)
Get column number given its name.