getting 2D density contours

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Tristan L Smith
Posts: 25
Joined: November 14 2005
Affiliation: Swarthmore
Contact:

getting 2D density contours

Post by Tristan L Smith » December 01 2021

Hello,

I am trying to use getdist in order to extract a table for the 1 and 2 sigma contours so that I can save them to a ascii file. From what I can tell, the routine that will do this is

Code: Select all

plots.MCSampleAnalysis.get_density_grid(chain1,'ns','rs',conts=2)
However, when I run this I get the following error:

Code: Select all

get_density_grid() missing 1 required positional argument: 'param2'
Can someone post an example of how to properly extract the contours for a pair of parameters?

Thanks!

~Tristan


Post Reply