Actually the slope of my plot is totally different from the observation one. In attached images you can compare these two. The reason for integration is that we are supposed to calculate the cumulative number counts (N>S) and it should be integrated over the redshift range (0,Zmax) and (S, inf.).
Dear all,
I am trying to plot the cumulative number counts of galaxy cluster (N>S) as a function of X-ray flux. The method I am following is using the mass function and scaling relation to calculate dN/dVdz. Then I do a double integrate over the redshift range and flux range. But the plot that...
Hi guys,
I want to use the C-extension of Python (Cython) in order to speed up my Python codes. I have already installed the Cython package using the command $ pip install Cython. Now I want to apply the package in Ipython notebook and when I start with the command:
%load_ext cythonmagic
I...
I want to write program in python that gives "redshift", range of "M" and range of "dn/dM" as input and plots "Press-Schechter" function and delivers a graph as output. would you please give some hints? I'm beginner in programming and I don't know how to start.
I want to plot an exponential function in Ipython, something like y=exp(x^0.53). But for small values of "x" it plots a straight line. Actually it plots the first terms of taylor expansion. How can I make it to give me curve for all values of x in my defined range? Should I change the precision...