Class AbstractFitWorker<I extends RealType<I>>

    • Field Detail

      • params

        protected final FitParams<I extends RealType<I>> params
        The fit parameters for this worker
      • results

        protected final FitResults results
        The fit results for this worker
      • nData

        protected final int nData
        Should be self-explanatory
      • nParam

        protected final int nParam
        Should be self-explanatory
      • nDataTotal

        protected int nDataTotal
        The number of data copied (including instr prefix/suffix and the part to fit, see below)
      • rawChisq_target

        protected float rawChisq_target
        The raw chisq target (params.chisq is reduced by DOF)
    • Constructor Detail

    • Method Detail

      • populate

        public void populate()
        The settings passed into the fit worker is mutable. This method refreshes the fit worker by updating cached information and probably re-allocating buffers.
      • nDataOut

        public int nDataOut()
        Description copied from interface: FitWorker
        How many bins will be fitted?
        Specified by:
        nDataOut in interface FitWorker<I extends RealType<I>>
        Returns:
        fitEnd - fitStart