Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters: pad the catalog merger events to allow CSV save | Aaron LI | 2018-01-02 | 1 | -1/+14 |
| | |||||
* | clusters: simulate and extract all recent merger events | Aaron LI | 2018-01-02 | 1 | -49/+33 |
| | | | | Remove the obsolete options: ratio_major, use_max_merger | ||||
* | clusters: skip dropping out halos when using dumped data | Aaron LI | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | clusters: dump & load catalog with comments | Aaron LI | 2018-01-02 | 1 | -5/+5 |
| | |||||
* | clusters: rework the reuse of previously dumped cluster catalog | Aaron LI | 2018-01-02 | 1 | -29/+50 |
| | |||||
* | clusters: merge _save_halos_catalog() and _dump_halos_data() | Aaron LI | 2018-01-02 | 1 | -28/+26 |
| | |||||
* | clusters: change "catalog" from DataFrame to a list of dict | Aaron LI | 2018-01-02 | 1 | -71/+79 |
| | |||||
* | Minor updates and cleanups | Aaron LI | 2018-01-02 | 1 | -25/+24 |
| | |||||
* | clusters/psformalism: sample_z_m() return tuple of lists instead of dataframe | Aaron LI | 2018-01-02 | 1 | -1/+3 |
| | |||||
* | Improve descriptions and minor cleanups | Aaron LI | 2018-01-01 | 1 | -9/+9 |
| | |||||
* | clusters/mergertree: add param mtree to maximum_merger and recent_major_merger | Aaron LI | 2018-01-01 | 1 | -2/+2 |
| | |||||
* | clusters/formation: Move parameter "ratio_major" to recent_major_merger() | Aaron LI | 2018-01-01 | 1 | -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 LI | 2018-01-01 | 1 | -4/+4 |
| | |||||
* | clusters/halo: Add back "mach_turbulence" attribute | Aaron LI | 2017-12-31 | 1 | -1/+1 |
| | |||||
* | Minor cleanups | Aaron LI | 2017-12-30 | 1 | -4/+4 |
| | |||||
* | clusters/halo: support to drop out the most powerful halos | Aaron LI | 2017-12-30 | 1 | -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 scale | Aaron LI | 2017-12-30 | 1 | -1/+1 |
| | | | | The turbulence injection scale ~ halo size | ||||
* | clusters/halo: Rename property "magnetic_field" to "B_obs" | Aaron LI | 2017-10-24 | 1 | -1/+1 |
| | |||||
* | clusters/halo: merge halo_rprofile() & draw_halo(); Fix halo radius error | Aaron LI | 2017-10-23 | 1 | -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 occurred | Aaron LI | 2017-10-22 | 1 | -0/+1 |
| | |||||
* | clusters/halo: Add "use_max_merger" option to allow use max merger events | Aaron LI | 2017-10-22 | 1 | -20/+30 |
| | |||||
* | clusters/halo: Rewrite turbulence acceleration & diffusion coefficient! | Aaron LI | 2017-10-21 | 1 | -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 properties | Aaron LI | 2017-10-21 | 1 | -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 LI | 2017-10-21 | 1 | -2/+1 |
| | |||||
* | clusters/halo: Add "kT_obs" and "tback_merger" properties | Aaron LI | 2017-10-19 | 1 | -1/+3 |
| | |||||
* | clusters/halo: rewrite power/flux/Tb calc with k-correction considered | Aaron LI | 2017-10-19 | 1 | -3/+4 |
| | |||||
* | clusters/halo: Fix load halos data; fix save halos catalog | Aaron LI | 2017-10-19 | 1 | -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=True | Aaron LI | 2017-10-19 | 1 | -0/+5 |
| | |||||
* | clusters/halo: Support use the previously dumped halos raw data | Aaron LI | 2017-10-19 | 1 | -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()" method | Aaron LI | 2017-10-19 | 1 | -11/+32 |
| | |||||
* | clusters/halo: Add and use attribute "self.halos_data_dumpfile" | Aaron LI | 2017-10-19 | 1 | -2/+4 |
| | |||||
* | clusters/halo: Rewrite halos catalog and raw data save | Aaron LI | 2017-10-19 | 1 | -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 required | Aaron LI | 2017-10-19 | 1 | -3/+1 |
| | |||||
* | clusters: More regular shape for radio halos | Aaron LI | 2017-10-16 | 1 | -6/+5 |
| | |||||
* | clusters: Update the documents/comments a b it | Aaron LI | 2017-10-14 | 1 | -9/+4 |
| | |||||
* | clusters/psformalism.py: Rewrite sample_z_m() method | Aaron LI | 2017-10-04 | 1 | -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 simulation | Aaron LI | 2017-09-03 | 1 | -4/+19 |
| | |||||
* | Return the list of filepath to the written sky files | Aaron LI | 2017-08-26 | 1 | -0/+8 |
| | |||||
* | clusters/main.py: Update sky header; update comments etc. | Aaron LI | 2017-08-26 | 1 | -5/+7 |
| | |||||
* | configs: Remove option "save"; all enabled components will be saved | Aaron LI | 2017-08-26 | 1 | -1/+0 |
| | |||||
* | clusters/halo.py: Rewrite electron acceleration coefficient calc | Aaron LI | 2017-08-14 | 1 | -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 manipulation | Aaron LI | 2017-08-14 | 1 | -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 data | Aaron LI | 2017-08-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Fix several bugs | Aaron LI | 2017-08-13 | 1 | -11/+3 |
| | | | | | | | | | * Brought back "clobber" property * Delete the wrong "self.halos=[]" * Fix the wrong assignment of "cimax0" * Assign default values for {c,r}i{min,max}1 Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "simulate_frequency()" and "simulate()" | Aaron LI | 2017-08-13 | 1 | -0/+46 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Halo templates are normalized to have mean of 1 | Aaron LI | 2017-08-13 | 1 | -1/+1 |
| | | | | | | Also update the documents of "draw_halo()" function Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add method "_outfilepath()" | Aaron LI | 2017-08-13 | 1 | -0/+21 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Set sky header properties | Aaron LI | 2017-08-13 | 1 | -4/+5 |
| | | | | | | | * Clean up the unused configurations * Add "FREQ" keyword to the sky FITS header Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_draw_halos()" method | Aaron LI | 2017-08-12 | 1 | -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 data | Aaron LI | 2017-08-12 | 1 | -4/+9 |
| | | | | | | Also rename "frequencies" to "frequency" Signed-off-by: Aaron LI <aly@aaronly.me> |