mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-01-19 06:34:41 +00:00
New function fitSample to make XYSampleData::fit more modular:
Eg application: In fit scans, one may only want central fit for the uncorr fit to speed up process.
This commit is contained in:
@@ -102,10 +102,12 @@ public:
|
||||
// get internal XYStatData
|
||||
const XYStatData & getData(void);
|
||||
// fit
|
||||
void fitSample(std::vector<Minimizer *> &minimizer, const std::vector<const DoubleModel *> &v,
|
||||
SampleFitResult &result, FitResult &sampleResult, DVec &init, Index s);
|
||||
SampleFitResult fit(std::vector<Minimizer *> &minimizer, const DVec &init,
|
||||
const std::vector<const DoubleModel *> &v);
|
||||
const std::vector<const DoubleModel *> &v, bool centralSample = false);
|
||||
SampleFitResult fit(Minimizer &minimizer, const DVec &init,
|
||||
const std::vector<const DoubleModel *> &v);
|
||||
const std::vector<const DoubleModel *> &v, bool centralSample = false);
|
||||
template <typename... Ts>
|
||||
SampleFitResult fit(std::vector<Minimizer *> &minimizer, const DVec &init,
|
||||
const DoubleModel &model, const Ts... models);
|
||||
|
||||
Reference in New Issue
Block a user