Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Supernova volumetric redshift rate #540

Draft
wants to merge 8 commits into
base: module/supernovae
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update to required modules
Update to required modules
elizabethswann committed Apr 17, 2020
commit b09793214625a45faf0d82f1c8f623de8f22edd6
5 changes: 1 addition & 4 deletions skypy/supernova/Ia_redshift_rate.py
Original file line number Diff line number Diff line change
@@ -22,11 +22,8 @@ def Ia_redshift_rate(redshift,r0 = 2.27e-5,a = 1.7):
using the rate parameters as given in [1].
Parameters
----------
redshift : float
redshift : numpy.array
Redshift at which to evaluate the Type Ia supernovae rate.
cosmology : astropy.cosmology.Cosmology
Cosmology object providing methods for the evolution history of
omega_matter and omega_lambda with redshift.
Returns
-------
rate : astropy.Quantity