Recent content by mahya
-
M
Python Merging FITS Images with Python & Astropy
Hello everyone, I would like to know how I can combine two FITS images (which are continuum maps of two sources) in python using astropy. Bests- mahya
- Thread
- Images Python
- Replies: 1
- Forum: Programming and Computer Science
-
M
Graduate Cumulative number counts of galaxy clusters
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.). -
M
Graduate Cumulative number counts of galaxy clusters
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... -
M
Python Press-Schechter function in python
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.- mahya
- Thread
- Function Python
- Replies: 1
- Forum: Programming and Computer Science
-
M
Python Plotting Press-Schechter using Python
I'm looking for a program that plots the Press-Schechter function for these 3 redshifts. It's actually part of a project for a course.- mahya
- Post #3
- Forum: Programming and Computer Science
-
M
Python Plotting Press-Schechter using Python
How can I plot "Press-Schechter" function using Python for redshift 0, 0.5 and 1?- mahya
- Thread
- Plotting Python
- Replies: 3
- Forum: Programming and Computer Science
-
M
Python Change the precision in Ipython
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...- mahya
- Thread
- Change Precision
- Replies: 2
- Forum: Programming and Computer Science