try {
const std::string input_file = "catalogue.fits";
const int next = 1;
const double fill_value = 1.;
const std::vector<std::string> column_names = {"XX", "YY", "ZZ", "Weight"};
std::cout << table[0][0] << " " <<table[1][0] << " " << table[2][0] << " " << table[3][0] << std::endl;
const std::vector<std::string> column_units = {"Mpc/h", "Mpc/h", "Mpc/h", ""};
}
return 0;
}
class FITSwrapper that wrap CCfits routines to manage FITS files
int main()
main function to create the logo of the CosmoBolognaLib
const char * what() const noexcept override
the error description
std::vector< std::vector< double > > read_table_fits(const std::string input_fits, const std::vector< std::string > column_names, const int next=1, const double fill_value=cbl::par::defaultDouble)
function to read a table from a fits file
void write_table_fits(const std::string output_dir, const std::string file_fits, const std::vector< std::string > column_names, const std::vector< std::vector< double >> table, const std::vector< std::string > column_units={})
function that writes a table on a fits file