Plotting Density Parameters as a Function of Redshift

  • #1
slothwayne
2
0
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,934
9,217
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.
 

Suggested for: Plotting Density Parameters as a Function of Redshift

  • Last Post
Replies
3
Views
538
Replies
9
Views
865
  • Last Post
Replies
0
Views
218
Replies
3
Views
773
Replies
2
Views
500
Replies
5
Views
1K
  • Last Post
Replies
0
Views
610
  • Last Post
Replies
6
Views
654
Top