Interface FitWorker.FitEventHandler<I extends RealType<I>>

  • Type Parameters:
    I - The parameter type
    Enclosing interface:
    FitWorker<I extends RealType<I>>

    public static interface FitWorker.FitEventHandler<I extends RealType<I>>
    The handler interface for fit events.
    • Method Detail

      • onComplete

        default void onComplete​(FitParams<I> params,
                                FitResults results)
        The handler called by FitWorkers upon completion of all fits.
        Parameters:
        params - the params
        results - the results
      • onSingleComplete

        default void onSingleComplete​(int[] pos,
                                      FitParams<I> params,
                                      FitResults results)
        The handler called by FitWorkers upon completion of a single fit.
        Parameters:
        pos - the x, y coordinate of the trans being fitted
        params - the params (volatile) of the completed fit
        results - the results (volatile) from the completed fit