CONAN.funcs.corfac

CONAN.funcs.corfac#

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.

Parameters:
  • rarr (1D float ndarray) – The residuals.

  • tarr (1D float ndarray) – The time array.

  • earr (1D float ndarray) – The error array.

  • indlist (2D int ndarray) – The indices of the residuals.

  • nphot (Int) – The number of photometric light curves.

  • njumpphot (Int) – The number of jump parameters in the photometric light curves.

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.