Plotting Density Parameters as a Function of Redshift

  • #1
I'm trying to plot the density parameters against redshift in Python, so I suppose this is kind of a cross over of programming and physics. I've been given the following two equations in order to do so

$$r(z) = \lambda_H \int_{0}^{z} \frac{dz'}{E(z')}$$

$$E(z) = \frac{H(z)}{H_0} = \sqrt {\Omega_\Lambda + \Omega_M (1+z)^3}$$

where I have neglected the curvature term as I am assuming a flat universe.
I have a relatively basic understanding of Python, so I'm generally struggling on how to get any actual numbers out of Python using these two, the plotting itself shouldn't be a problem once I have the correct code.
How do I use these equations to find the density parameters as a function of the redshift, or maybe I could use the radial comoving distance r(z)? I'm not too sure.

I figured it would be better to post here than the programming section as most people with a higher understanding of Physics also have some coding experience.

Thanks in advance.
 

Answers and Replies

  • #2
18,513
8,445
Thanks for the thread! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post? The more details the better.
 

Related Threads on Plotting Density Parameters as a Function of Redshift

  • Last Post
Replies
0
Views
2K
Replies
5
Views
862
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
5
Views
1K
Replies
0
Views
1K
  • Last Post
Replies
1
Views
981
Replies
2
Views
8K
Replies
1
Views
791
  • Last Post
Replies
3
Views
274
Top