aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/psformalism.py
Commit message (Collapse)AuthorAgeFilesLines
* Update logging messagesAaron LI2017-10-291-0/+2
|
* clusters/psformalism: Use functools.lru_cache()Aaron LI2017-10-231-0/+3
|
* clusters/psformalism.py: Rewrite sample_z_m() methodAaron LI2017-10-041-38/+52
| | | | | Also update clusters/main.py to calculate the halo mass distributions before sampling the mass and redshifts for clusters.
* clusters: Use "hmf" to calculate halo mass functions/distributionsAaron LI2017-10-041-69/+136
| | | | | | | | | | | | * New dependency "hmf" (halo mass functions) module * Calculate halo mass distributions/functions (dndlnm) with respect to masses and redshifts, instead of use the previous data file ("ps_data") * New section "[extragalactic][psformalism]" in configurations * New functions to write and read the dndlnm data TODO: * update the method to sample (mass, redshift) for clusters from the dndlnm data
* clusters/psformalism.py: Improve catalog commentsAaron LI2017-10-021-4/+7
|
* clusters: Add config option "boost"Aaron LI2017-09-011-2/+5
| | | | | | | NOTE: The cluster number (especially the bright ones) may be rather small within a sky patch. This ``boost`` config option increase the expected cluster number by a specified times, for better testing purpose.
* clusters/psformalism: Remove config "f_darkmatter"Aaron LI2017-08-291-3/+2
| | | | Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter".
* Fix several small issues; Also update PSFormalism a bitAaron LI2017-07-311-4/+10
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Add psformalism.py to simulate cluster catalogAaron LI2017-07-311-0/+230
Also updated configuration options. Signed-off-by: Aaron LI <aly@aaronly.me>