Commit 5e9ed5d9 authored by ILBERT Olivier's avatar ILBERT Olivier
Browse files

Avoid different ratios of emission lines if EM_LINES=NO. Improve comments for zaround.

parent 5910d3f0
......@@ -705,7 +705,8 @@ void SED::fit_chi2IR(const onesource& source, const int imagm, const string fit_
Find the two redshifts which encompass the considered redshift according to the grid passed in input
Find two redshifts (redp and redn) which define the redshift range associated to this point in the redshift grid (with a redshift red).
This function is used when using ZFIX YES to associate a spectroscopic redshift with a point in the grid
void SED::zaround(const vector<double>& gridz){
......@@ -716,7 +717,6 @@ void SED::zaround(const vector<double>& gridz){
// next redshift in the grid
......@@ -329,7 +329,12 @@ GalMag::GalMag(keymap & key_analysed) : Mag(key_analysed){
throw invalid_argument("Not the right value for EM_LINES (NO, EMP_SFR, EMP_UV, PHYS)");}
// possible dispersion within the emission lines
// indicate how many step do you want
fracEm = (key_analysed["EM_DISPERSION"]).split_double("1",-1);
// Don't fill it if EM_LINES NO
fracEm = (key_analysed["EM_DISPERSION"]).split_double("1",-1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment