1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting Density Parameters as a Function of Redshift

  1. Nov 6, 2016 #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.
     
  2. jcsd
  3. Nov 11, 2016 #2
    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Plotting Density Parameters as a Function of Redshift
Loading...