public abstract class AbstractFitWorker<I extends RealType<I>> extends Object implements FitWorker<I>
FitWorker.FitEventHandler<I extends RealType<I>>| Modifier and Type | Field and Description | 
|---|---|
protected int | 
adjFitEnd
The adjusted  
FitParams.fitStart and FitParams.fitEnd taking
 into account leading instr prefix (see below) | 
protected int | 
adjFitStart
The adjusted  
FitParams.fitStart and FitParams.fitEnd taking
 into account leading instr prefix (see below) | 
protected int | 
nData
Should be self-explanatory 
 | 
protected int | 
nDataTotal
The number of data copied (including instr prefix/suffix and the part to fit,
 see below) 
 | 
protected int | 
nParam
Should be self-explanatory 
 | 
protected OpEnvironment | 
ops
The  
OpEnvironment the worker may use | 
protected FitParams<I> | 
params
The fit parameters for this worker 
 | 
protected float | 
rawChisq_target
The raw chisq target (params.chisq is reduced by DOF) 
 | 
protected FitResults | 
results
The fit results for this worker 
 | 
| Constructor and Description | 
|---|
AbstractFitWorker(FitParams<I> params,
                 FitResults results,
                 OpEnvironment ops)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
nDataOut()
How many bins will be fitted? 
 | 
int | 
nParamOut()
How many parameters should there be in  
results.param? E.g. | 
void | 
populate()
The settings passed into the fit worker is mutable. 
 | 
protected final OpEnvironment ops
OpEnvironment the worker may useprotected final FitResults results
protected final int nData
protected final int nParam
protected int adjFitStart
FitParams.fitStart and FitParams.fitEnd taking
 into account leading instr prefix (see below)protected int adjFitEnd
FitParams.fitStart and FitParams.fitEnd taking
 into account leading instr prefix (see below)protected int nDataTotal
protected float rawChisq_target
public AbstractFitWorker(FitParams<I> params, FitResults results, OpEnvironment ops)
public void populate()
public int nParamOut()
FitWorkerresults.param? E.g. 3 for one-component
 LMAFitWorker and 5 for PhasorFitWorker.Copyright © 2015–2022 FLIMLib. All rights reserved.