Python Plotting Press-Schechter using Python

  • Thread starter Thread starter mahya
  • Start date Start date
  • Tags Tags
    Plotting Python
AI Thread Summary
To plot the Press-Schechter function for redshifts 0, 0.5, and 1 using Python, users are seeking either a plotting package or a program that can perform the simulation and generate the plots. While there are existing Python programs available online, users may need to create their own plots from the simulation results. Notable resources mentioned include CosmoloPy and a specific HaloMassFcn script from the yt package, which can potentially be adapted for plotting the Press-Schechter function as part of a course project.
mahya
Messages
7
Reaction score
0
How can I plot "Press-Schechter" function using Python for redshift 0, 0.5 and 1?
 
Technology news on Phys.org
What are you looking for?

1) a plotting package for python or
2) a program that does a Press-Schechter simulation and plots it

Is this a homework assignment or project for a course?

There are Python programs available that you can find via Google but you'd probably need to plot the results yourself.
 
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.
 
There are some python packages that support it:

http://roban.github.io/CosmoloPy/

and

http://www.nullege.com/codes/show/src@yt-1.6.1@yt@extensions@HaloMassFcn.py

You might be able to adapt them to do plots
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
9
Views
3K
Replies
1
Views
3K
Replies
3
Views
2K
Replies
2
Views
780
Replies
11
Views
1K
Replies
10
Views
3K
Replies
2
Views
4K
Replies
3
Views
2K
Back
Top