|
1 |
| -function [problemStruct,outProblem,result,bayesResults] = runDram(problemStruct,problemCells,problemLimits,controls,allPriors) |
| 1 | +function [problemStruct,outProblem,result,bayesResults] = runDram(problemStruct,problemLimits,controls,allPriors) |
2 | 2 |
|
3 | 3 | %#codegen
|
4 | 4 |
|
|
151 | 151 |
|
152 | 152 | output = runBayes(loop,nsimu,burnin,adaptint,params,problem,controls);
|
153 | 153 |
|
154 |
| -[problemStruct,result,bayesResults] = processBayes(output,problemStruct,problemCells,problemLimits,controls); |
| 154 | +[problemStruct,result,bayesResults] = processBayes(output,problemStruct,problemLimits,controls); |
155 | 155 |
|
156 | 156 | % problemStruct.fitParams = bayesResults.bestParamsMean;
|
157 | 157 |
|
|
170 | 170 | % % Calulate Max best fit curves
|
171 | 171 | % problemStruct.fitParams = bestParamsMax;
|
172 | 172 | % problemStruct = unpackParams(problemStruct,controls.checks);
|
173 |
| -% result = reflectivityCalculation(problemStruct,problemCells,problemLimits,controls); |
| 173 | +% result = reflectivityCalculation(problemStruct,problemLimits,controls); |
174 | 174 | % bestFitMax_Ref = result.reflectivity;
|
175 | 175 | % bestFitMax_Sld = result.sldProfiles;
|
176 | 176 | % bestFitMax_chi = result.calculationResultss.sumChi;
|
177 | 177 | %
|
178 | 178 | % % Calculate 'mean' best fit curves
|
179 | 179 | % problemStruct.fitParams = bestParamsMean;
|
180 | 180 | % problemStruct = unpackParams(problemStruct,controls.checks);
|
181 |
| -% result = reflectivityCalculation(problemStruct,problemCells,problemLimits,controls); |
| 181 | +% result = reflectivityCalculation(problemStruct,problemLimits,controls); |
182 | 182 | % bestFitMean_Ref = result.reflectivity;
|
183 | 183 | % bestFitMean_Sld = result.sldProfiles;
|
184 | 184 | % bestFitMean_chi = result.calculationResultss.sumChi;
|
|
0 commit comments