Interface FitWorker<I extends RealType<I>>

    • Method Detail

      • nParamOut

        int nParamOut()
        How many parameters should there be in results.param? E.g. 3 for one-component LMAFit.LMAFitWorker and 5 for PhasorFit.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 fit
        handler - the fit event handler