## getting 2D density contours

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

### getting 2D density contours

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

Antony Lewis
Posts: 1790
Joined: September 23 2004
Affiliation: University of Sussex
Contact: