Class RAHelper<I extends RealType<I>>

    • Method Detail

      • loadData

        public boolean loadData​(float[] transBuffer,
                                float[] paramBuffer,
                                FitParams<I> params,
                                int[] xytPos)
        Fill buffers with data from params. Starting coordinate specified by xytPos. Skip and return false if params.intensityMap is less than intensity threshold.
        Parameters:
        transBuffer - the transient buffer
        paramBuffer - the parameter buffer
        params - the fitting parameters
        xytPos - the starting position of data
        Returns:
        false if the transient is skipped, true otherwise
      • commitRslts

        public void commitRslts​(FitParams<I> params,
                                FitResults rslts,
                                int[] xytPos)
        Put results back into the proper position in rslts. An RA in rslts will be skipped if params.getXxMap is true.
        Parameters:
        params - the fitting parameters
        rslts - the result to fill in
        xytPos - the coordinate of the single-pixel result in maps.