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
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.

Similar threads

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