aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
Commit message (Collapse)AuthorAgeFilesLines
* clusters/main.py: Implement "_draw_halos()" methodAaron LI2017-08-121-2/+27
| | | | | | New functions "halo_rprofile()" and "draw_halo()" added to helper.py Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Inherent cluster catalog info to halos dataAaron LI2017-08-121-4/+9
| | | | | | Also rename "frequencies" to "frequency" Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add missing columns to DataFrame conversionAaron LI2017-08-121-2/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo: "volume" use unit "kpc^3" instead of "cm^3"Aaron LI2017-08-111-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Calculate and cache more halo dataAaron LI2017-08-061-4/+9
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Convert halos data to be a DataFrame and dumpAaron LI2017-08-031-0/+19
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Improve logging messagesAaron LI2017-08-011-0/+5
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Add config "halos_dumpfile" and dump simulate halos dataAaron LI2017-08-011-1/+8
|
* clusters: Fix several small issues on wrong variable namesAaron LI2017-07-311-2/+2
| | | | | | Also update logging message for RadioHalo a bit. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Use PSFormalism to simulate cluster catalogAaron LI2017-07-311-13/+11
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-2/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add method "_simulate_halos()"Aaron LI2017-07-311-0/+43
| | | | | | | This method simulates the radio halo properties for each cluster with a recent major merger. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Commit missing changes on CONFIGS and COSMOAaron LI2017-07-231-3/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use all uppercase to identify the global CONFIGS and COSMOAaron LI2017-07-221-3/+3
| | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Import global "configs" to simplify parametersAaron LI2017-07-221-20/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Move "magnetic_field()" function to helper.pyAaron LI2017-07-221-24/+0
| | | | | | Import the global "configs" in helper.py to make parameters lean. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Rename "last major merger" to "recent major merger"Aaron LI2017-07-221-21/+20
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add property "halo_configs"Aaron LI2017-07-221-1/+31
| | | | | | And update the config specification accordingly with some cleanups. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add "_magnetic_field()" methodAaron LI2017-07-211-0/+33
| | | | | | Also update the configurations Signed-off-by: Aaron LI <aly@aaronly.me>
* Use the global "cosmo" instance for simplificationAaron LI2017-07-211-12/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add basic "preprocess()" methodAaron LI2017-07-201-1/+23
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Implement "_simulate_merger()"Aaron LI2017-07-201-6/+76
| | | | | | | | | | Simulate the formation history of each cluster and identify the last/recent major merger event. Also add new configuration option "tau_merger" and tweak several configurations options. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add and save catalog comments for columnsAaron LI2017-07-191-6/+18
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: GalaxyClusters implements some basic methodsAaron LI2017-07-191-8/+130
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* fg21sim/clusters: Save progress on halo simulationAaron LI2017-06-011-0/+24