CONAN.outputs.mcmc_outputs
==========================

.. py:function:: CONAN.outputs.mcmc_outputs(posterior, jnames, ijnames, njnames, nijnames, bp, uwl, Rs_in, Ms_in, Rs_PDF, Ms_PDF, nfilt, filnames, howstellar, extinpars, RVunit, extind_PDF, npl, out_folder)

   Function to write out the medians, best values and distributions of the jump parameters
   and derived parameters to files. It also plots the histograms of the parameters and derived parameters
   and saves them to the output folder.

   :param posterior: The posterior samples from the sampling.
   :type posterior: array
   :param jnames: List of the names of the jump parameters.
   :type jnames: list
   :param ijnames: List of the indices of the jump parameters.
   :type ijnames: list
   :param njnames: List of the names of the non-jump parameters.
   :type njnames: list
   :param nijnames: List of the indices of the non-jump parameters.
   :type nijnames: list
   :param bp: The max-probability values of the parameters.
   :type bp: array
   :param uwl: The effective wavelengths of the filters.
   :type uwl: array
   :param Rs_in: The input value of the stellar radius.
   :type Rs_in: float
   :param Ms_in: The input value of the stellar mass.
   :type Ms_in: float
   :param Rs_PDF: The PDF of the stellar radius.
   :type Rs_PDF: array
   :param Ms_PDF: The PDF of the stellar mass.
   :type Ms_PDF: array
   :param nfilt: The number of filters.
   :type nfilt: int
   :param filnames: The names of the filters.
   :type filnames: list
   :param howstellar: The method used to specify the stellar parameters.
   :type howstellar: str
   :param extinpars: The names of the external input parameters.
   :type extinpars: list
   :param RVunit: The unit of the radial velocity.
   :type RVunit: str
   :param extind_PDF: The PDF of the external input parameters.
   :type extind_PDF: array
   :param npl: The number of planets.
   :type npl: int
   :param out_folder: The folder to save the outputs.
   :type out_folder: str

