aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/consolehandler.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-10-02 16:29:12 +0800
committerAaron LI <aly@aaronly.me>2017-10-02 16:29:12 +0800
commit3623a8b2866bc1eff90c552a3ee29b1327db0ef1 (patch)
tree5936a259e01407360a87422d820aef0ddd6cb290 /fg21sim/webui/consolehandler.py
parentcbc0f662abe72073fd7b01dbaf5d8e965fda5d04 (diff)
downloadfg21sim-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/webui/consolehandler.py')
0 files changed, 0 insertions, 0 deletions