1 #ifndef ProcessImportFits_h
2 #define ProcessImportFits_h
28 template <
typename T>
class QList;
ProcessImportFits()
Constructor for ProcessImportFits.
File name manipulation and expansion.
void setProcessFileStructure(int labelNumber)
Sets the Process file structure parameters based on the FITS labels of choice.
FileName m_name
The name of the input FITS file.
QList< int > * m_headerSizes
The number/count of 2880 byte header records for each header section.
Contains multiple PvlContainers.
QList< int > * m_dataStarts
The starting byte of the data for each image.
void extractFitsLabels()
Extract all the FITS labels from the file.
void setFitsFile(FileName fitsFile)
Opens a FITS file and reads the FITS labels.
virtual ~ProcessImportFits()
Destructor for ProcessImportFits.
PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const
Return a populated instrument group.
QList< PvlGroup * > * m_fitsLabels
Holds the PvlGroups with the converted FITS labels from the main and all extensions.
std::ifstream m_file
The stream used to read the FITS file.
PvlGroup fitsLabel(int labelNumber) const
Supplies the requested FITS label.