This is an example of how to use the Auxiliary::getPath function.
#include <map>
#include <string>
#include <CCfits/CCfits>
namespace Examples {
class CCfits : public Program {
public:
string test_upper_string{"THATSTRING"};
log.info() <<
"This is the test upper string: " << test_upper_string;
string test_lower_string = ::CCfits::FITSUtil::lowerCase(test_upper_string);
log.info() <<
"This is the test lower string: " << test_lower_string;
log.info() <<
"done with test program! ";
log.info() <<
"Opening the file " << fits_file_path.string();
::CCfits::FITS fits_file(fits_file_path.string());
::CCfits::ExtHDU& extension = fits_file.extension(1);
log.info() <<
"Extension comments: " << extension.getComments();
}
};
}
}