diff options
author | Aaron LI <aly@aaronly.me> | 2017-10-02 16:29:12 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-10-02 16:29:12 +0800 |
commit | 3623a8b2866bc1eff90c552a3ee29b1327db0ef1 (patch) | |
tree | 5936a259e01407360a87422d820aef0ddd6cb290 /fg21sim/utils/download.py | |
parent | cbc0f662abe72073fd7b01dbaf5d8e965fda5d04 (diff) | |
download | fg21sim-3623a8b2866bc1eff90c552a3ee29b1327db0ef1.tar.bz2 |
utils/cosmology.py: Add methods Dc() and Dc_to_redshift()
* Dc(): simple wrapper on astropy cosmology's comoving_distance()
* Dc_to_redshift(): determine the redshift w.r.t. the input comoving
distances using interpolation.
Diffstat (limited to 'fg21sim/utils/download.py')
0 files changed, 0 insertions, 0 deletions