public class PhasorFitWorker<I extends RealType<I>> extends AbstractSingleFitWorker<I>
FitWorker.FitEventHandler<I extends RealType<I>>chisqBuffer, fittedBuffer, paramBuffer, residualBuffer, transBufferadjFitEnd, adjFitStart, nData, nDataTotal, nParam, ops, params, rawChisq_target, results| Constructor and Description |
|---|
PhasorFitWorker(FitParams<I> params,
FitResults results,
OpEnvironment ops) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterFit()
A routine called after
AbstractSingleFitWorker.doFit(). |
protected void |
beforeFit()
A routine called before
AbstractSingleFitWorker.doFit(). |
protected void |
doFit()
Does the actual implementation-specific fitting routine.
|
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.
|
int |
nParamOut()
How many parameters should there be in
results.param? E.g. |
fitBatch, fitSingle, onThreadInitnDataOut, populatepublic PhasorFitWorker(FitParams<I> params, FitResults results, OpEnvironment ops)
protected void beforeFit()
AbstractSingleFitWorkerAbstractSingleFitWorker.doFit(). Can be used to throw away the left-overs from the
previous run.beforeFit in class AbstractSingleFitWorker<I extends RealType<I>>protected void doFit()
AbstractSingleFitWorkerdoFit in class AbstractSingleFitWorker<I extends RealType<I>>protected void afterFit()
AbstractSingleFitWorkerAbstractSingleFitWorker.doFit(). Can be used to copy back results from buffers.afterFit in class AbstractSingleFitWorker<I extends RealType<I>>public int nParamOut()
FitWorkerresults.param? E.g. 3 for one-component
LMAFitWorker and 5 for PhasorFitWorker.protected AbstractSingleFitWorker<I> duplicate(FitParams<I> params, FitResults rslts)
AbstractSingleFitWorkerduplicate in class AbstractSingleFitWorker<I extends RealType<I>>params - the parametersrslts - the resultsCopyright © 2015–2022 FLIMLib. All rights reserved.