CONAN.funcs.corfac
==================

.. py:function:: CONAN.funcs.corfac(rarr, tarr, earr, indlist, nphot, njumpphot)

   Compute the red noise factor, white noise factor, combined factor, and
   the white noise factor for chi2red==1.

   :param rarr: The residuals.
   :type rarr: 1D float ndarray
   :param tarr: The time array.
   :type tarr: 1D float ndarray
   :param earr: The error array.
   :type earr: 1D float ndarray
   :param indlist: The indices of the residuals.
   :type indlist: 2D int ndarray
   :param nphot: The number of photometric light curves.
   :type nphot: Int
   :param njumpphot: The number of jump parameters in the photometric light curves.
   :type njumpphot: Int

   :returns: * **bw** (*1D float ndarray*) -- The white noise factor.
             * **br** (*1D float ndarray*) -- The red noise factor.
             * **brt** (*1D float ndarray*) -- The red noise timescale.
             * **cf** (*1D float ndarray*) -- The combined factor.

