Page 1 of 1

getting 2D density contours

Posted: December 01 2021
by Tristan L Smith
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

Re: getting 2D density contours

Posted: December 02 2021
by Antony Lewis