fits2idia
FITS to HDF5 (IDIA schema) converter
FastConverter Class Reference

#include <Converter.h>

Inheritance diagram for FastConverter:
[legend]
Collaboration diagram for FastConverter:
[legend]

Public Member Functions

 FastConverter (std::string inputFileName, std::string outputFileName, bool progress, bool zMips)
 
MemoryUsage calculateMemoryUsage () override
 
- Public Member Functions inherited from Converter
 Converter ()
 
 Converter (std::string inputFileName, std::string outputFileName, bool progress, bool zMips)
 
virtual ~Converter ()
 
void convert ()
 
void reportMemoryUsage ()
 

Protected Member Functions

void copyAndCalculate () override
 

Additional Inherited Members

- Static Public Member Functions inherited from Converter
static std::unique_ptr< ConvertergetConverter (std::string inputFileName, std::string outputFileName, bool slow, bool progress, bool zMips)
 
- Protected Attributes inherited from Converter
Timer timer
 
bool progress
 
bool zMips
 
std::string tempOutputFileName
 
std::string outputFileName
 
fitsfile * inputFilePtr
 
H5::H5File outputFile
 
H5::Group outputGroup
 
H5::DataSet standardDataSet
 
H5::DataSet swizzledDataSet
 
float * standardCube
 
float * rotatedCube
 
Stats statsXY
 
Stats statsZ
 
Stats statsXYZ
 
MipMaps mipMaps
 
int N
 
hsize_t stokes
 
hsize_t depth
 
hsize_t height
 
hsize_t width
 
hsize_t numBins
 
std::vector< hsize_t > standardDims
 
std::vector< hsize_t > swizzledDims
 
std::vector< hsize_t > tileDims
 
std::string swizzledName
 

Constructor & Destructor Documentation

◆ FastConverter()

FastConverter::FastConverter ( std::string  inputFileName,
std::string  outputFileName,
bool  progress,
bool  zMips 
)

Member Function Documentation

◆ calculateMemoryUsage()

MemoryUsage FastConverter::calculateMemoryUsage ( )
overridevirtual

Implements Converter.

Here is the call graph for this function:

◆ copyAndCalculate()

void FastConverter::copyAndCalculate ( )
overrideprotectedvirtual

Implements Converter.

Here is the call graph for this function:

The documentation for this class was generated from the following files: