aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* clusters/halo: Add "kT_obs" and "tback_merger" propertiesAaron LI2017-10-191-1/+3
|
* clusters/halo: rewrite power/flux/Tb calc with k-correction consideredAaron LI2017-10-191-3/+4
|
* clusters/halo: Fix load halos data; fix save halos catalogAaron LI2017-10-191-27/+28
| | | | | The "template" item should be removed before convert the halos data into a Pandas DataFrame to be saved.
* clusters/halo: Force to use cluster catalog if use_dump_halos_data=TrueAaron LI2017-10-191-0/+5
|
* clusters/halo: Support use the previously dumped halos raw dataAaron LI2017-10-191-1/+11
| | | | | | Add option "use_dump_halos_data" to control whether to just use the previously dumped halos data, therefore, the radio emissions at additional frequencies can be simply calculated.
* cluster/halos: Split out "_calc_halos_emission()" methodAaron LI2017-10-191-11/+32
|
* clusters/halo: Add and use attribute "self.halos_data_dumpfile"Aaron LI2017-10-191-2/+4
|
* clusters/halo: Rewrite halos catalog and raw data saveAaron LI2017-10-191-15/+39
| | | | | Replace option "halos_dumpfile" with "halos_catalog_outfile", and use option "dump_halos_data" to control whether to dump the raw data.
* clusters: "catalog_outfile" is requiredAaron LI2017-10-191-3/+1
|
* clusters: More regular shape for radio halosAaron LI2017-10-161-6/+5
|
* clusters: Update the documents/comments a b itAaron LI2017-10-141-9/+4
|
* clusters/psformalism.py: Rewrite sample_z_m() methodAaron LI2017-10-041-0/+2
| | | | | Also update clusters/main.py to calculate the halo mass distributions before sampling the mass and redshifts for clusters.
* clusters: Add option "use_output_catalog" to continue halo simulationAaron LI2017-09-031-4/+19
|
* Return the list of filepath to the written sky filesAaron LI2017-08-261-0/+8
|
* clusters/main.py: Update sky header; update comments etc.Aaron LI2017-08-261-5/+7
|
* configs: Remove option "save"; all enabled components will be savedAaron LI2017-08-261-1/+0
|
* clusters/halo.py: Rewrite electron acceleration coefficient calcAaron LI2017-08-141-0/+2
| | | | | | | | | | * Adopt the electron acceleration coefficient formula from [cassano2005] * Rename method "_tau_acceleration()" to "_chi_acceleration()", and rewrite * Add property "kT_merger" * Also save "kT_merger" and "chi" into halos data Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Use OrderedDict to easy keys manipulationAaron LI2017-08-141-29/+31
| | | | | | | Also avoid forgetting to add the newly added item for DataFrame conversion. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Rename property "injection_rate" and save into halos dataAaron LI2017-08-141-0/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>