Module org.scijava.ops.flim
Package org.scijava.ops.flim.impl
Class RLDFit.RLDFitWorker<I extends RealType<I>>
- java.lang.Object
-
- org.scijava.ops.flim.impl.AbstractFitWorker<I>
-
- org.scijava.ops.flim.impl.AbstractSingleFitWorker<I>
-
- org.scijava.ops.flim.impl.RLDFit.RLDFitWorker<I>
-
- All Implemented Interfaces:
FitWorker<I>
- Enclosing class:
- RLDFit
public static class RLDFit.RLDFitWorker<I extends RealType<I>> extends AbstractSingleFitWorker<I>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.scijava.ops.flim.FitWorker
FitWorker.FitEventHandler<I extends RealType<I>>
-
-
Field Summary
-
Fields inherited from class org.scijava.ops.flim.impl.AbstractSingleFitWorker
chisqBuffer, fittedBuffer, paramBuffer, residualBuffer, transBuffer
-
Fields inherited from class org.scijava.ops.flim.impl.AbstractFitWorker
adjFitEnd, adjFitStart, nData, nDataTotal, nParam, params, rawChisq_target, results
-
-
Constructor Summary
Constructors Constructor Description RLDFitWorker(FitParams<I> params, FitResults results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterFit()A routine called afterAbstractSingleFitWorker.doFit().protected voidbeforeFit()A routine called beforeAbstractSingleFitWorker.doFit().protected voiddoFit()Performs the RLD 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.-
Methods inherited from class org.scijava.ops.flim.impl.AbstractSingleFitWorker
fitBatch, fitSingle, onThreadInit, runMultiThreaded
-
Methods inherited from class org.scijava.ops.flim.impl.AbstractFitWorker
nDataOut, nParamOut, populate
-
-
-
-
Constructor Detail
-
RLDFitWorker
public RLDFitWorker(FitParams<I> params, FitResults results)
-
-
Method Detail
-
beforeFit
protected void beforeFit()
Description copied from class:AbstractSingleFitWorkerA routine called beforeAbstractSingleFitWorker.doFit(). Can be used to throw away the left-overs from the previous run.- Overrides:
beforeFitin classAbstractSingleFitWorker<I extends RealType<I>>
-
doFit
protected void doFit()
Performs the RLD fit.- Specified by:
doFitin classAbstractSingleFitWorker<I extends RealType<I>>
-
afterFit
protected void afterFit()
Description copied from class:AbstractSingleFitWorkerA routine called afterAbstractSingleFitWorker.doFit(). Can be used to copy back results from buffers.- Overrides:
afterFitin classAbstractSingleFitWorker<I extends RealType<I>>
-
duplicate
protected AbstractSingleFitWorker<I> duplicate(FitParams<I> params, FitResults rslts)
Description copied from class:AbstractSingleFitWorkerMake a worker of the same kind but does not share any writable buffers (thread safe) if that buffer is null.- Specified by:
duplicatein classAbstractSingleFitWorker<I extends RealType<I>>- Parameters:
params- the parametersrslts- the results- Returns:
- a worker of the same kind.
-
-