CONAN.logprob_multi.logprob_multi

CONAN.logprob_multi.logprob_multi#

CONAN.logprob_multi.logprob_multi(p, args, t=None, make_outfile=False, verbose=False, debug=False, get_planet_model=False, get_model=None, get_base_model=False, out_folder='', get_GPobj=False)#

calculate log probability and create output file of full model calculated using posterior parameters

Parameters:
  • p (array) – model parameters

  • args (dict) – contains various config parameters to use in mode calculation

  • t (array, optional) – user-defined time array at which to evaluate the model, by default None

  • make_outfile (bool, optional) – whether to make the output model file “*out.dat”. by default False

  • verbose (bool, optional) – whether to print out information during function call, by default False

  • debug (bool, optional) – see debug statements, by default False

  • get_planet_model (bool, optional) – flag to output dictionary of planet model results (phot and RV) for specific input parameters.

  • get_base_model (bool, optional) – flag to output dictionary of baseline model results (phot and RV) for specific input parameters.

  • out_folder (str, optional) – folder to save output files, by default “”

  • get_GPobj (bool) – whether to return GPobj for LCs and RVs. Default is False.

Returns:

  • model (array) – model computed with parameter input p

  • model_err (array) – model uncertainties

  • T0 (float) – mid transit time

  • P0 (float) – period