24#include <CCfits/CCfits>
43 string test_upper_string{
"THATSTRING"};
44 log.info() <<
"This is the test upper string: " << test_upper_string;
46 string test_lower_string = ::CCfits::FITSUtil::lowerCase(test_upper_string);
47 log.info() <<
"This is the test lower string: " << test_lower_string;
49 log.info() <<
"done with test program! ";
51 auto fits_file_path = Auxiliary::getPath(
"ElementsExamples/phz_cat.fits");
52 log.info() <<
"Opening the file " << fits_file_path.string();
53 ::CCfits::FITS fits_file(fits_file_path.string());
55 ::CCfits::ExtHDU& extension = fits_file.extension(1);
57 log.info() <<
"Extension comments: " << extension.getComments();
provide functions to retrieve auxiliary files
Macro to silence unused variables warnings from the compiler.
ExitCode mainMethod(ELEMENTS_UNUSED map< string, VariableValue > &args) override
Simple example of an Elements program.
static Logging getLogger(const std::string &name="")
ExitCode
Strongly typed exit numbers.
#define MAIN_FOR(ELEMENTS_PROGRAM_NAME)