aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
Commit message (Collapse)AuthorAgeFilesLines
* clusters/main: Update _calc_halos_emission()Aaron LI2019-01-101-2/+2
| | | | Match the updated variable names.
* Bump copyright yearAaron LI2019-01-101-1/+1
|
* clusters/main: Update _simulate_halo1()Aaron LI2019-01-101-23/+15
| | | | | Directly merge in the cluster information into the halo information dictionary.
* clusters/main: Rename 'theta' to 'Rvir_angular'Aaron LI2019-01-101-2/+2
|
* clusters/main: Calculate DA and theta in _calc_cluster_info()Aaron LI2019-01-101-6/+13
| | | | | Calculate angular diameter distance and angular radius in _calc_cluster_info().
* clusters/main: Add _calc_cluster_info()Aaron LI2019-01-101-0/+23
| | | | Move the calculation of Rvir, kT, and B from halo.py to main.py.
* clusters/main: Minor cleanupsAaron LI2019-01-101-3/+3
|
* clusters/main: Split out _simulate_halo1()Aaron LI2018-12-221-42/+56
|
* clusters/main: Update description/commentsAaron LI2018-12-221-16/+11
| | | | Tweak imports a bit.
* clusters/main: Minor improvementsAaron LI2018-10-241-13/+11
|
* clusters: Add parameter felong_minAaron LI2018-05-221-3/+3
|
* clusters: Fix dropout handlingAaron LI2018-02-031-8/+7
|
* clusters: improve dropout handlingAaron LI2018-01-281-10/+26
|
* clusters: calculate/save cosmic (~cluster) age to catalog & halos dataAaron LI2018-01-221-1/+6
|
* clusters: coerce to plain list for concatenationAaron LI2018-01-221-4/+8
| | | | | The "merger_mass1", "merger_mass2", "merger_z", and "merger_age" may be NumPy arrays, e.g., the catalog data are manually modified.
* clusters/main: minor cleanupsAaron LI2018-01-111-10/+8
|
* clusters: fix string formatting in _simulate_halos()Aaron LI2018-01-051-1/+1
|
* clusters: small cleanupsAaron LI2018-01-051-4/+9
|
* clusters: update _simulate_halos() with new halo propertiesAaron LI2018-01-051-11/+9
|
* clusters/halo: refactor tau_acceleration() to help RadioHaloAMAaron LI2018-01-041-1/+1
| | | | | Change "tau_acceleration" from a attribute to a method with the time parameter, and then simplify "fp_diffusion()" method.
* clusters/halo: Add preliminary RadioHaloAM based on RadioHaloAaron LI2018-01-041-12/+12
| | | | | The RadioHaloAM class is intended to account for all merger events, and there are a lot of methods to be implemented.
* clusters/halo: small updates and some cleanupsAaron LI2018-01-041-7/+5
|
* clusters/halo: delete radius_virial_{main,sub} and kT_sub propertiesAaron LI2018-01-031-3/+0
|
* clusters: Fix catalog data to CSV saveAaron LI2018-01-031-1/+3
|
* clusters: update to to use the new HaloEmission in _calc_halos_emission()Aaron LI2018-01-031-13/+9
|
* clusters: simplify _set_configs()Aaron LI2018-01-021-18/+17
|
* clusters: pad the catalog merger events to allow CSV saveAaron LI2018-01-021-1/+14
|
* clusters: simulate and extract all recent merger eventsAaron LI2018-01-021-49/+33
| | | | Remove the obsolete options: ratio_major, use_max_merger
* clusters: skip dropping out halos when using dumped dataAaron LI2018-01-021-1/+1
|
* clusters: dump & load catalog with commentsAaron LI2018-01-021-5/+5
|
* clusters: rework the reuse of previously dumped cluster catalogAaron LI2018-01-021-29/+50
|
* clusters: merge _save_halos_catalog() and _dump_halos_data()Aaron LI2018-01-021-28/+26
|
* clusters: change "catalog" from DataFrame to a list of dictAaron LI2018-01-021-71/+79
|
* Minor updates and cleanupsAaron LI2018-01-021-25/+24
|
* clusters/psformalism: sample_z_m() return tuple of lists instead of dataframeAaron LI2018-01-021-1/+3
|
* Improve descriptions and minor cleanupsAaron LI2018-01-011-9/+9
|
* clusters/mergertree: add param mtree to maximum_merger and recent_major_mergerAaron LI2018-01-011-2/+2
|
* clusters/formation: Move parameter "ratio_major" to recent_major_merger()Aaron LI2018-01-011-4/+3
| | | | | | * Simplify "max_merger" property to not check whether it is a major merger. * Rename "max_merger" to "maximum_merger" * Rename "simulate_mergertree()" to "simulate_mtree()"
* clusters/halo: Change option "tau_merger" to "time_traceback"Aaron LI2018-01-011-4/+4
|
* clusters/halo: Add back "mach_turbulence" attributeAaron LI2017-12-311-1/+1
|
* Minor cleanupsAaron LI2017-12-301-4/+4
|
* clusters/halo: support to drop out the most powerful halosAaron LI2017-12-301-0/+26
| | | | | The new option "extragalactic/clusters/halo_dropout" is added to specify how many halos to be dropped out.
* clusters/halo: Estimate turbulence acceleration w.r.t. injection scaleAaron LI2017-12-301-1/+1
| | | | The turbulence injection scale ~ halo size
* clusters/halo: Rename property "magnetic_field" to "B_obs"Aaron LI2017-10-241-1/+1
|
* clusters/halo: merge halo_rprofile() & draw_halo(); Fix halo radius errorAaron LI2017-10-231-2/+2
| | | | | | | * Fix the error that misses to divide the halo radius by 3 for the e-folding radius, which causes the generated halo image has a 3x size! * Merge function "halo_rprofile()" into "draw_halo()" * Skip transform circular halo into elliptical one if "felong" is None
* clusters/formation: Fix problem that no mergers occurredAaron LI2017-10-221-0/+1
|
* clusters/halo: Add "use_max_merger" option to allow use max merger eventsAaron LI2017-10-221-20/+30
|
* clusters/halo: Rewrite turbulence acceleration & diffusion coefficient!Aaron LI2017-10-211-1/+2
| | | | | | | | | | | | The previous calculation of the turbulence acceleration efficiency has significant problems, which is too low, i.e., the acceleration timescale is too large (~10 Gyr). However, it is reported that turbulent acceleration has a timescale ~100 Myr (0.1 Gyr). I believe this problem is due to the over-simplification to the formula proposed by [cassano2005]. Rewrite the turbulence acceleration and diffusion coefficient calculations, adopting the method proposed by [brunetti2016]. To this end, two new options "f_lturb" and "f_acc" are introduced to tune the results.
* clusters/halos: Add more cluster and halo propertiesAaron LI2017-10-211-5/+9
| | | | | | * Rvir0, Rvir_main, Rvir_sub * kT_main, kT_sub (replace kT_merger) * radius -> Rhalo, angular_radius -> Rhalo_angular, B -> B0
* clusters: Fix a comment about "felong"Aaron LI2017-10-211-2/+1
|