Class PhotoZ
Defined in File photoz_lib.h
Class Documentation
-
class PhotoZ
Class managing photo-z computation.
The PhotoZ class is the central executor of photo-z estimation : it manages most configuration parameters, reads synthetic magnitudes inputs and object catalogs, performs the fit, and is in charge of producing results and saving them to files.
Public Functions
-
inline virtual ~PhotoZ()
-
string prep_header(vector<string> outkeywords)
-
void read_lib(vector<SED*> &fullLib, int &ind, int nummodpre[3], const string libName, string &filtname, vector<int> emMod, int &babs)
-
vector<size_t> validLib(const double &redshift, const bool &ir = false)
Return the indexes over zlib vector on which to run the fit.
- Parameters:
redshift – the selected redshift
ir – whether the selection is done on the main template library or on the IR one.
- Returns:
Vector of indexes for templates set with
redshiftas redshift.
-
inline virtual ~PhotoZ()