Go to the documentation of this file.
45 void set_up (
int,
int,
int,
int);
56 void set_up (
int,
int,
int,
int,
int);
64 void split (
const std::string &, std::vector<std::string> &,
77 void read_ascii (
const std::string &,
const std::string &,
double,
78 double,
double, std::vector<Galaxy> &);
90 void read_fits (
const std::string &,
const std::string &,
double,
91 double,
double, std::vector<Galaxy> &);
103 const std::string &,
double,
double,
116 const std::string &,
double,
double,
126 void write_ascii (
const std::vector<Cluster> &,
const std::string &,
127 const std::string &);
136 void write_fits (
const std::vector<Cluster> &,
const std::string &,
137 const std::string &);
145 void read_nz_data (
const std::string &, std::vector<double> &,
146 std::vector<double> &);
167 #endif // FILEIO_CLASS_H
int z_col
Column number for galaxy redshift.
Definition: fileio_class.hpp:160
Class for file input and output.
Definition: fileio_class.hpp:33
void read_fits(const std::string &, const std::string &, double, double, double, std::vector< Galaxy > &)
This method reads in a FITS file and store the contents in a vector of Galaxy instances.
Definition: fileio_class.cpp:109
void write_ascii(const std::vector< Cluster > &, const std::string &, const std::string &)
This method writes a list of the specified Cluster instances and a list of the corresponding member G...
Definition: fileio_class.cpp:215
void set_up(int, int, int, int)
This method sets the column numbers where galaxy properties are stored in the input file.
Definition: fileio_class.cpp:6
int z_err_col
Column number for galaxy photometric redshift error.
Definition: fileio_class.hpp:163
int dec_col
Column number for galaxy declination.
Definition: fileio_class.hpp:157
void output_member_name(const std::string &, const std::string &, const std::string &, double, double, std::string &)
This method sets the member output file name.
Definition: fileio_class.cpp:197
void write_fits(const std::vector< Cluster > &, const std::string &, const std::string &)
This method writes a list of the specified Cluster instances and a list of the corresponding member G...
Definition: fileio_class.cpp:258
void read_nz_data(const std::string &, std::vector< double > &, std::vector< double > &)
This method reads N(z) data from a file.
Definition: fileio_class.cpp:352
void read_ascii(const std::string &, const std::string &, double, double, double, std::vector< Galaxy > &)
This method reads in an ASCII file and store the contents in a vector of Galaxy instances.
Definition: fileio_class.cpp:58
int id_col
Column number for galaxy ID.
Definition: fileio_class.hpp:151
void output_cluster_name(const std::string &, const std::string &, const std::string &, double, double, std::string &)
This method sets the cluster output file name.
Definition: fileio_class.cpp:179
void split(const std::string &, std::vector< std::string > &, const std::string &)
This method splits a string into columns.
Definition: fileio_class.cpp:41
int ra_col
Column number for galaxy right ascension.
Definition: fileio_class.hpp:154