28 #ifndef MS_MSFITSINPUT_H
29 #define MS_MSFITSINPUT_H
51 template <
class T>
class ScalarColumn;
131 else cout <<
"can not read the table" << endl;
237 {
return pf ? (*pf)(i) : (
pl ? (*
pl)(i) : (*
ps)(i));}
const FitsKeyword * nextkw()
Advance to next keyword.
Double crpix(Int i)
Coordinate reference pixel.
void attach(FitsInput &infile)
Attach to the input file, create the appropriate PrimaryGroup.
Double crpix(Int i)
Coordinate reference pixel.
int read()
The `read()' and `write()' functions control reading and writing data from the external FITS I/O medi...
char * ptype(int n) const
Int dims()
Number of dimensions.
Double parm(Int i)
Get i'th parameter.
PrimaryTable< uChar > * pb
A helper class for MSFitsInput.
Standard, optimizes i/o by using large tiles (128 kB)
double cdelt(int n) const
Double cdelt(Int i)
Coordinate delta.
Char * ctype(Int i)
Coordinate type.
PrimaryTable< Short > * ps
const FitsKeyword * kw(const FITS::ReservedName &n)
Keyword of given type.
MSPrimaryTableHolder()
This is a helper class to avoid cumbersome switch statements on the template type of the primary arra...
ostream-like interface to creating log messages.
double crval(int n) const
int read()
read, or write the next group
Int dim(Int i)
Length of i'th axis.
Int pcount() const
Number of parameters.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
char * ctype(int n) const
Double crval(Int i)
Coordinate reference value.
Int dim(Int i)
Length of i'th axis.
Char * ctype(Int i)
Coordinate type.
const FitsKeyword * kw(const FITS::ReservedName &n)
Keyword of given type.
void detach()
Detach from the input file.
Char * ptype(Int i) const
Parameter type.
Int read()
Read the next group.
Int read()
Read the next group.
Int dims()
Number of dimensions.
Double cdelt(Int i)
Coordinate delta.
const FitsKeyword * nextkw()
Advance to next keyword.
ConstFitsKeywordList & kwlist()
All keywords.
PrimaryGroup< Short > * ps
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
list of read-only FITS keywords
PrimaryGroup< FitsLong > * pl
BinaryTable is used to translate a FITS binary table to a Casacore Table.
MSPrimaryGroupHolder()
This is a helper class to avoid cumbersome switch statements on the template type of the primary grou...
A Table intended to hold astronomical data (a set of Measurements).
ConstFitsKeywordList & kwlist()
All keywords.
Double operator()(Int i) const
Get group data with index i, scaled and converted to Double.
PrimaryGroup< Float > * pf
A class to provide easy access to MeasurementSet columns.
double crpix(int n) const
PrimaryTable< Float > * pf
String: the storage and methods of handling collections of characters.
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Int gcount() const
Return basic parameters of a random group.
Int gcount() const
Number of groups.
void attach(FitsInput &infile)
Attach to the input file, create the appropriate PrimaryArray.
void detach()
Detach from the input file.
A helper class for MSFitsInput.
Double crval(Int i)
Coordinate reference value.
PrimaryTable< FitsLong > * pl
ReservedName
FITS Reserved Names.