-
- All Known Implementing Classes:
AbstractFitWorker,AbstractSingleFitWorker,BayesFit.BayesFitWorker,GlobalFit.GlobalFitWorker,LMAFit.LMAFitWorker,PhasorFit.PhasorFitWorker,RLDFit.RLDFitWorker
public interface FitWorker<I extends RealType<I>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFitWorker.FitEventHandler<I extends RealType<I>>The handler interface for fit events.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfitBatch(List<int[]> pos, FitWorker.FitEventHandler<I> handler)Fit all coordinates listed and handles fit events.intnDataOut()How many bins will be fitted?intnParamOut()How many parameters should there be inresults.param? E.g.
-
-
-
Method Detail
-
nParamOut
int nParamOut()
How many parameters should there be inresults.param? E.g. 3 for one-componentLMAFit.LMAFitWorkerand 5 forPhasorFit.PhasorFitWorker.- Returns:
- The number of output parameters in the parameter array.
-
nDataOut
int nDataOut()
How many bins will be fitted?- Returns:
fitEnd - fitStart
-
fitBatch
void fitBatch(List<int[]> pos, FitWorker.FitEventHandler<I> handler)
Fit all coordinates listed and handles fit events.- Parameters:
pos- the coordinates of trans to fithandler- the fit event handler
-
-