aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/cosmology.py
Commit message (Collapse)AuthorAgeFilesLines
* clusters: Fix cluster distribution calculation about massAaron LI2018-05-121-3/+2
|
* utils/cosmology.py: Add parameter Tcmb0 [K]Aaron LI2017-10-041-4/+9
|
* utils/cosmology: Add scalar spectral index "ns"Aaron LI2017-10-041-4/+6
|
* utils/cosmology.py: Add methods Dc() and Dc_to_redshift()Aaron LI2017-10-021-0/+48
| | | | | | * Dc(): simple wrapper on astropy cosmology's comoving_distance() * Dc_to_redshift(): determine the redshift w.r.t. the input comoving distances using interpolation.
* clusters/psformalism: Remove config "f_darkmatter"Aaron LI2017-08-291-0/+10
| | | | Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter".
* utils/cosmology.py: Add "dVc()": differential comoving volumeAaron LI2017-07-311-0/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* cosmology: Avoid the circular importing issueAaron LI2017-07-311-6/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/cosmology.py: age() and redshift() accepts numpy arraysAaron LI2017-07-271-7/+10
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/cosmology.py: Update references and commentsAaron LI2017-07-271-36/+66
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use all uppercase to identify the global CONFIGS and COSMOAaron LI2017-07-221-5/+5
| | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/cosmology.py: Add property "baryon_fraction"Aaron LI2017-07-211-0/+9
| | | | | | XXX: assumed to be independent of redshifts! Signed-off-by: Aaron LI <aly@aaronly.me>
* Fix parameter names about cosmologyAaron LI2017-07-211-2/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* bin/fg21sim: Setup cosmology model at the beginningAaron LI2017-07-211-1/+1
| | | | | | | | * Update copyright * Add a help on "DEBUG_FG21SIM" * Also fix a bug in cosmology setup() Signed-off-by: Aaron LI <aly@aaronly.me>
* cosmology.py: Add "setup()" method to allow update parametersAaron LI2017-07-211-11/+38
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* cosmology: Use default parameters from configurationsAaron LI2017-06-231-1/+5
| | | | Also add configuration option "cosmology/Omegab0".
* utils/cosmology: Add methods DL() and DA()Aaron LI2017-06-191-0/+14
|
* clusters: Move units.py and cosmology.py to utilsAaron LI2017-06-011-0/+215