Skip to content
Snippets Groups Projects
Commit a93a0ddd authored by Joris van Zwieten's avatar Joris van Zwieten
Browse files

Task #3196: Fixed issue where MMSE configuration settings were not properly...

Task #3196: Fixed issue where MMSE configuration settings were not properly initialized when not specified explicitly in the parset.
parent 61831824
No related branches found
No related tags found
No related merge requests found
...@@ -125,8 +125,8 @@ namespace LOFAR ...@@ -125,8 +125,8 @@ namespace LOFAR
LOG_TRACE_LIFETIME(TRACE_LEVEL_COND, ""); LOG_TRACE_LIFETIME(TRACE_LEVEL_COND, "");
SingleStep::read(ps); SingleStep::read(ps);
ParameterSet pss(ps.makeSubset("Correct.")); ParameterSet pss(ps.makeSubset("Correct."));
itsUseMMSE = pss.getBool("MMSE.Enable", itsUseMMSE); itsUseMMSE = pss.getBool("MMSE.Enable", false);
itsSigmaMMSE = pss.getDouble("MMSE.Sigma", itsSigmaMMSE); itsSigmaMMSE = pss.getDouble("MMSE.Sigma", 0.0);
if(itsSigmaMMSE < 0.0) if(itsSigmaMMSE < 0.0)
{ {
THROW(BBSControlException, "MMSE.Sigma should be positive: " THROW(BBSControlException, "MMSE.Sigma should be positive: "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment