Class FITSFile¶
- Defined in File FITSWrapper.h
Class Documentation¶
-
class
FITSFile
¶ Public Functions
-
FITSFile
(const std::string &filename_)¶
-
~FITSFile
()¶
-
int
getStatus
()¶
-
void
createFile
()¶
-
void
deleteFile
()¶
-
void
openFile
(FITS::IOMode ioMode = FITS::READ)¶
-
void
closeFile
()¶
-
void
moveToHDU
(int hduNumber)¶
-
int
getNumberOfHDUs
()¶
-
int
getCurrentHDUNumber
()¶
-
FITS::HDUType
getHDUType
()¶
-
int
getNumOfKeywords
()¶
-
std::vector<std::string>
getHeaderRecords
()¶
-
void
writeKeyValue
(FITSKeyValue &kv, const char comment[])¶
-
FITSKeyValue
readKeyValue
(const std::string &key_, FITS::DataType type_)¶
-
std::string
readKeyValueAsString
(const std::string &key_)¶
-
double
readKeyValueAsDouble
(const std::string &key_)¶
-
int
readKeyValueAsInt
(const std::string &key_)¶
-
void
createImage
(FITS::ImgType bitpix, int naxis, long *naxes)¶
-
void
writeImage
(FITS::DataType dtype, int firstElement, int nElements, void *array)¶
-
std::vector<float>
readImageAsFloat
(unsigned int firstElement, unsigned int nElements)¶
-
void
createTable
(FITS::HDUType tableType, long int nRows, int nColumns, char *columnName[], char *columnType[], char *columnUnit[], const char *tableName)¶
-
void
writeDate
()¶
-
void
writeColumn
(FITS::DataType dataType, int column, long int firstRow, long int firstElement, long int nElements, void *array)¶
-