- java.lang.Object
-
- org.scijava.ops.flim.util.RAHelper<I>
-
-
Constructor Summary
Constructors Constructor Description RAHelper(FitParams<I> params, FitResults rslts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommitRslts(FitParams<I> params, FitResults rslts, int[] xytPos)Put results back into the proper position inrslts.booleanloadData(float[] transBuffer, float[] paramBuffer, FitParams<I> params, int[] xytPos)Fill buffers with data fromparams.
-
-
-
Constructor Detail
-
RAHelper
public RAHelper(FitParams<I> params, FitResults rslts)
-
-
Method Detail
-
loadData
public boolean loadData(float[] transBuffer, float[] paramBuffer, FitParams<I> params, int[] xytPos)Fill buffers with data fromparams. Starting coordinate specified byxytPos. Skip and returnfalseifparams.intensityMapis less than intensity threshold.- Parameters:
transBuffer- the transient bufferparamBuffer- the parameter bufferparams- the fitting parametersxytPos- the starting position of data- Returns:
falseif the transient is skipped,trueotherwise
-
commitRslts
public void commitRslts(FitParams<I> params, FitResults rslts, int[] xytPos)
Put results back into the proper position inrslts. An RA inrsltswill be skipped ifparams.getXxMapistrue.- Parameters:
params- the fitting parametersrslts- the result to fill inxytPos- the coordinate of the single-pixel result in maps.
-
-