#include <fitsConverterIf.hpp>
◆ FitsConverterIf()
| FitsConverterIf::FitsConverterIf |
( |
const std::string & |
directory, |
|
|
bool |
split_files |
|
) |
| |
Construct a FITS converter.
- Parameters
-
| directory | string containing the path to the output directory |
| split_files | false: save all data in one file, true: split samples into extra files |
◆ ~FitsConverterIf()
| FitsConverterIf::~FitsConverterIf |
( |
| ) |
|
|
virtual |
◆ Close()
| void FitsConverterIf::Close |
( |
| ) |
|
|
protected |
◆ GetDirectory()
| const std::string& FitsConverterIf::GetDirectory |
( |
| ) |
|
|
inline |
Get the setting for splitting files.
- Parameters
-
| store | enable or disable timestamp storage |
◆ GetFitsHandle()
| CCfits::FITS & FitsConverterIf::GetFitsHandle |
( |
| ) |
|
|
protected |
◆ GetSplitFiles()
| bool FitsConverterIf::GetSplitFiles |
( |
| ) |
|
|
inline |
Get the setting for splitting files.
- Parameters
-
| store | enable or disable timestamp storage |
◆ GetStoreSampleIds()
| bool FitsConverterIf::GetStoreSampleIds |
( |
| ) |
|
|
inline |
Get current setting for storing sample ids as keywords.
- Parameters
-
| store | enable or disable sampleid storage |
◆ GetStoreTimestamps()
| bool FitsConverterIf::GetStoreTimestamps |
( |
| ) |
|
|
inline |
Get current setting for storing timestamps as keywords.
- Parameters
-
| store | enable or disable timestamp storage |
◆ IsOpen()
| const bool FitsConverterIf::IsOpen |
( |
| ) |
|
|
inlineprotected |
◆ Open()
| void FitsConverterIf::Open |
( |
const std::string & |
file | ) |
|
|
protected |
◆ SetFitsHandle()
| void FitsConverterIf::SetFitsHandle |
( |
std::unique_ptr< CCfits::FITS > && |
handle | ) |
|
|
protected |
◆ SetStoreSampleIds()
| void FitsConverterIf::SetStoreSampleIds |
( |
bool |
store | ) |
|
|
inline |
Enable or disable storage of sample ids as keywords.
- Parameters
-
| store | enable or disable sampleid storage |
◆ SetStoreTimestamps()
| void FitsConverterIf::SetStoreTimestamps |
( |
bool |
store | ) |
|
|
inline |
Enable or disable storage of timestamps as keywords.
- Parameters
-
| store | enable or disable timestamp storage |
◆ WriteData()
| virtual void FitsConverterIf::WriteData |
( |
const PacketData & |
data | ) |
|
|
pure virtual |
Write data into the FITS file(s)
- Parameters
-
| data | The data to store in the fits file |
Implemented in LisaCamera, and GenericCamera.
The documentation for this class was generated from the following files: