Skip to content

Commit

Permalink
DOCS: improve docstrings on 'redz_after'
Browse files Browse the repository at this point in the history
  • Loading branch information
lzkelley committed Apr 13, 2024
1 parent 5fdc5de commit 20b3c64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions holodeck/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,17 +1774,17 @@ def redz_after(time, redz=None, age=None):
Parameters
----------
time : array_like in units of [sec]
Amount of time to pass.
redz : None or array_like,
Redshift of starting point after which `time` is added.
age : None or array_like, in units of [sec]
Age of the Universe at the starting point, after which `time` is added.
time : array_like, [s]
Amount of time to pass, in units of seconds.
redz : None or array_like, []
Redshift of starting point after which `time` is added. Unitless.
age : None or array_like, [s]
Age of the Universe at the starting point, after which `time` is added. Units of seconds.
Returns
-------
new_redz : array_like
Redshift of the Universe after the given amount of time.
new_redz : array_like, []
Redshift of the Universe after the given amount of time. Unitless
"""
if (redz is None) == (age is None):
Expand Down

0 comments on commit 20b3c64

Please sign in to comment.