[camb] Plotting cl's along with error bars

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[camb] Plotting cl''s along with error bars

Post by Ira *Wolfson » September 03 2017

Hi all,

I am interesting in plotting the famous power spectrum cl's vs. l graph,
but with the actual observations and error bars, to compare between the results of several theories.


I was able to plot the actual graph (no fuss - it's in the camb readme),
but how can I add the observations and error bars?


-- Ira

Savvas Nesseris
Posts: 67
Joined: April 05 2005
Affiliation: UAM/IFT
Contact:

[camb] Plotting cl''s along with error bars

Post by Savvas Nesseris » September 05 2017

If you already have the Cls, then plotting them with the errors is easy:

In Python:
https://matplotlib.org/1.2.1/examples/p ... _demo.html

In Mathematica:
http://reference.wolfram.com/language/E ... tPlot.html

Cheers

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[camb] Plotting cl''s along with error bars

Post by Ira *Wolfson » September 05 2017

I meant where do I find the error bars for the actual Cl's either in the camb output, or otherwise somewhere else.


-- Ira

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[camb] Plotting cl''s along with error bars

Post by Ira *Wolfson » September 10 2017

So, Any ideas regarding where do I get the error bar --data-- on the Cl's?
Not asking how to plot, but how to get the data.


-- Ira

Graeme Addison
Posts: 18
Joined: July 17 2014
Affiliation: Johns Hopkins University

[camb] Plotting cl''s along with error bars

Post by Graeme Addison » September 13 2017

We have a collection of some recent Cl data points and errors on this page of the LAMBDA site (scroll down to CMB-only TT power spectrum, click the text file link): https://lambda.gsfc.nasa.gov/graphics/

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[camb] Plotting cl''s along with error bars

Post by Ira *Wolfson » September 13 2017

Thanks!!!

-- Ira

Post Reply