Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | clusters/main.py: Add missing columns to DataFrame conversion | Aaron LI | 2017-08-12 | 1 | -2/+2 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo: "volume" use unit "kpc^3" instead of "cm^3" | Aaron LI | 2017-08-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Calculate and cache more halo data | Aaron LI | 2017-08-06 | 1 | -4/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Convert halos data to be a DataFrame and dump | Aaron LI | 2017-08-03 | 1 | -0/+19 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Improve logging messages | Aaron LI | 2017-08-01 | 1 | -0/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Add config "halos_dumpfile" and dump simulate halos data | Aaron LI | 2017-08-01 | 1 | -1/+8 |
| | |||||
* | clusters: Fix several small issues on wrong variable names | Aaron LI | 2017-07-31 | 1 | -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 catalog | Aaron LI | 2017-07-31 | 1 | -13/+11 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO" | Aaron LI | 2017-07-31 | 1 | -2/+1 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add method "_simulate_halos()" | Aaron LI | 2017-07-31 | 1 | -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 COSMO | Aaron LI | 2017-07-23 | 1 | -3/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use all uppercase to identify the global CONFIGS and COSMO | Aaron LI | 2017-07-22 | 1 | -3/+3 |
| | | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Import global "configs" to simplify parameters | Aaron LI | 2017-07-22 | 1 | -20/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Move "magnetic_field()" function to helper.py | Aaron LI | 2017-07-22 | 1 | -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 LI | 2017-07-22 | 1 | -21/+20 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add property "halo_configs" | Aaron LI | 2017-07-22 | 1 | -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()" method | Aaron LI | 2017-07-21 | 1 | -0/+33 |
| | | | | | | Also update the configurations Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use the global "cosmo" instance for simplification | Aaron LI | 2017-07-21 | 1 | -12/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add basic "preprocess()" method | Aaron LI | 2017-07-20 | 1 | -1/+23 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_simulate_merger()" | Aaron LI | 2017-07-20 | 1 | -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> |