CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

[camb] Plotting cl's along with error bars
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Ira *Wolfson



Joined: 24 Jan 2013
Posts: 63
Affiliation: BGU

PostPosted: September 03 2017  Reply with quote

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
Back to top
View user's profile [ Hidden ] Visit poster's website
Savvas Nesseris



Joined: 05 Apr 2005
Posts: 68
Affiliation: UAM/IFT

PostPosted: September 05 2017  Reply with quote

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

In Python:
https://matplotlib.org/1.2.1/examples/pylab_examples/errorbar_demo.html

In Mathematica:
http://reference.wolfram.com/language/ErrorBarPlots/ref/ErrorListPlot.html

Cheers
Back to top
View user's profile [ Hidden ] Visit poster's website
Ira *Wolfson



Joined: 24 Jan 2013
Posts: 63
Affiliation: BGU

PostPosted: September 05 2017  Reply with quote

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


– Ira
Back to top
View user's profile [ Hidden ] Visit poster's website
Ira *Wolfson



Joined: 24 Jan 2013
Posts: 63
Affiliation: BGU

PostPosted: September 10 2017  Reply with quote

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
Back to top
View user's profile [ Hidden ] Visit poster's website
Graeme Addison



Joined: 17 Jul 2014
Posts: 16
Affiliation: Johns Hopkins University

PostPosted: September 13 2017  Reply with quote

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/
Back to top
View user's profile  
Ira *Wolfson



Joined: 24 Jan 2013
Posts: 63
Affiliation: BGU

PostPosted: September 13 2017  Reply with quote

Thanks!!!

– Ira
Back to top
View user's profile [ Hidden ] Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.