public class BayesFitWorker<I extends RealType<I>> extends AbstractSingleFitWorker<I>
FitWorker.FitEventHandler<I extends RealType<I>>
chisqBuffer, fittedBuffer, paramBuffer, residualBuffer, transBuffer
adjFitEnd, adjFitStart, nData, nDataTotal, nParam, ops, params, rawChisq_target, results
Constructor and Description |
---|
BayesFitWorker(FitParams<I> params,
FitResults results,
OpEnvironment ops) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeFit()
A routine called before
AbstractSingleFitWorker.doFit() . |
void |
doFit()
Performs an Bayes fit.
|
protected AbstractSingleFitWorker<I> |
duplicate(FitParams<I> params,
FitResults rslts)
Make a worker of the same kind but does not share any writable buffers (thread safe) if that
buffer is null.
|
protected void |
onThreadInit()
Called on the worker thread after worker duplication.
|
afterFit, fitBatch, fitSingle
nDataOut, nParamOut, populate
public BayesFitWorker(FitParams<I> params, FitResults results, OpEnvironment ops)
protected void beforeFit()
AbstractSingleFitWorker
AbstractSingleFitWorker.doFit()
. Can be used to throw away the left-overs from the
previous run.beforeFit
in class AbstractSingleFitWorker<I extends RealType<I>>
public void doFit()
doFit
in class AbstractSingleFitWorker<I extends RealType<I>>
protected void onThreadInit()
AbstractSingleFitWorker
onThreadInit
in class AbstractSingleFitWorker<I extends RealType<I>>
onThreadInit()
protected AbstractSingleFitWorker<I> duplicate(FitParams<I> params, FitResults rslts)
AbstractSingleFitWorker
duplicate
in class AbstractSingleFitWorker<I extends RealType<I>>
params
- the parametersrslts
- the resultsCopyright © 2015–2022 FLIMLib. All rights reserved.