Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters/halos: Fix halo radius calculation | Aaron LI | 2017-10-23 | 1 | -3/+5 |
| | | | | Also change the parameter "nr" default to 2.0 for draw_halo() function. | ||||
* | clusters/halo: merge halo_rprofile() & draw_halo(); Fix halo radius error | Aaron LI | 2017-10-23 | 1 | -38/+26 |
| | | | | | | | * 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/halo: Use "lru_cache()", also improves some performance | Aaron LI | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | clusters/halo: Add option "kT_out" to tune cluster temperature | Aaron LI | 2017-10-22 | 1 | -2/+6 |
| | |||||
* | clusters/halo: Add function "speed_sound()" | Aaron LI | 2017-10-21 | 1 | -0/+28 |
| | | | | Also add "gamma" the adiabatic index of ideal gas to utils/units.py | ||||
* | clusters/halo: Determine magnetic field by fraction of its energy density | Aaron LI | 2017-10-20 | 1 | -30/+24 |
| | | | | | | | | | | * Rewrite "magnetic_field()" function to calculate the mean magnetic field strength within ICM according its energy density fraction w.r.t. the ICM thermal energy density. * Remove config options "b_mean" and "b_index", which are replaced with the option "eta_b", the assumed magnetic energy density fraction w.r.t. the ICM thermal energy density. | ||||
* | clusters/halo: Remove "mass_to_kT()", replaced by "kT_cluster()" | Aaron LI | 2017-10-20 | 1 | -39/+0 |
| | |||||
* | clusters/halo: Use "kT_cluster()" instead of "mass_to_kT()" | Aaron LI | 2017-10-19 | 1 | -3/+3 |
| | |||||
* | clusters/halo: Add kT_cluster() to calculate the cluster ICM temperature | Aaron LI | 2017-10-19 | 1 | -0/+25 |
| | |||||
* | clusters/helper: Add kT_virial() to calculate the virial temperature | Aaron LI | 2017-10-19 | 1 | -0/+36 |
| | |||||
* | clusters/halo: rewrite power/flux/Tb calc with k-correction considered | Aaron LI | 2017-10-19 | 1 | -102/+0 |
| | |||||
* | clusters: Update radio halo radius estimation | Aaron LI | 2017-10-18 | 1 | -19/+17 |
| | | | | | | | | | The simulated radio halo is assumed to have a radius of the falling sub-cluster; while previously it is assumed to be 1/4 of the virial radius of the merged cluster. The new estimation can agree better with the currently observed radio halos, which generally have a angular diameter size of ~2-7 [arcmin]. | ||||
* | Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()" | Aaron LI | 2017-09-01 | 1 | -2/+2 |
| | |||||
* | clusters: Halo templates are normalized to have mean of 1 | Aaron LI | 2017-08-13 | 1 | -3/+11 |
| | | | | | | Also update the documents of "draw_halo()" function Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_draw_halos()" method | Aaron LI | 2017-08-12 | 1 | -0/+62 |
| | | | | | | New functions "halo_rprofile()" and "draw_halo()" added to helper.py Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Implement calc_{power,flux,brightness_mean} in helper | Aaron LI | 2017-08-11 | 1 | -0/+106 |
| | | | | | | Help development & debug ... 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/helper.py: Fix and replace R_halo vs. R_vir relation | Aaron LI | 2017-07-23 | 1 | -11/+12 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/helper.py: Fix a bug in "mass_to_kT()" | Aaron LI | 2017-07-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/helper.py: Add "density_energy_electron()" function | Aaron LI | 2017-07-23 | 1 | -2/+27 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/helper.py: Disable scattering on scaling relations | Aaron LI | 2017-07-23 | 1 | -4/+8 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use all uppercase to identify the global CONFIGS and COSMO | Aaron LI | 2017-07-22 | 1 | -8/+8 |
| | | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Move "magnetic_field()" function to helper.py | Aaron LI | 2017-07-22 | 1 | -0/+40 |
| | | | | | | Import the global "configs" in helper.py to make parameters lean. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/helper.py: Add "velocity_impact()" and "time_crossing()" | Aaron LI | 2017-07-22 | 1 | -3/+71 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Add clusters/helper.py | Aaron LI | 2017-07-21 | 1 | -0/+158 |
Signed-off-by: Aaron LI <aly@aaronly.me> |