Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()" | Aaron LI | 2017-09-01 | 1 | -2/+2 |
| | |||||
* | clusters/psformalism: Remove config "f_darkmatter" | Aaron LI | 2017-08-29 | 1 | -3/+2 |
| | | | | Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter". | ||||
* | clusters/halo.py: Update injection rate calculation | Aaron LI | 2017-08-26 | 1 | -10/+5 |
| | | | | | The electrons are assumed to be injected throughout the whole cluster ICM/volume. | ||||
* | 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 | 2 | -26/+53 |
| | | | | | | | | | | * 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/halo.py: Simplify two coefficients usage | Aaron LI | 2017-08-14 | 1 | -7/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Rename property "injection_rate" and save into halos data | Aaron LI | 2017-08-14 | 2 | -37/+38 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use "GalaxyClusters" from main.py, and remove clusters.py | Aaron LI | 2017-08-14 | 1 | -732/+0 |
| | | | | 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 | 2 | -4/+12 |
| | | | | | | 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 | 2 | -2/+89 |
| | | | | | | 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: Implement calc_{power,flux,brightness_mean} in helper | Aaron LI | 2017-08-11 | 2 | -40/+116 |
| | | | | | | Help development & debug ... Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo: "volume" use unit "kpc^3" instead of "cm^3" | Aaron LI | 2017-08-11 | 2 | -4/+7 |
| | | | | 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> | ||||
* | Fix a bug in clusters/halo.py; Add a comment to utils/io/_create_dir() | Aaron LI | 2017-08-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Update against "Fnu_to_Tb_fast()" unit changes | Aaron LI | 2017-08-03 | 1 | -1/+2 |
| | | | | 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> | ||||
* | clusters/emission.py: Make "F()" be class method, fixing memory hole! | Aaron LI | 2017-08-01 | 1 | -22/+35 |
| | | | | | | | | | | | For unknown reason! Each instance of "SynchrotronEmission" will cost ~5 MiB memory when interpolating the kernel function cached as "self._F_interp", which won't be collected/freed by GC, for UNKNOWN reason! Therefore, make the method "F()" be class-wide, to avoid the memory hole! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Improve logging messages | Aaron LI | 2017-08-01 | 2 | -4/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Fix bug in "F()" | Aaron LI | 2017-08-01 | 1 | -13/+14 |
| | | | | 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/halo.py: Finished brief simulation description | Aaron LI | 2017-08-01 | 1 | -3/+13 |
| | |||||
* | clusters: Fix several small issues on wrong variable names | Aaron LI | 2017-07-31 | 3 | -7/+8 |
| | | | | | | Also update logging message for RadioHalo a bit. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Fix several small issues; Also update PSFormalism a bit | Aaron LI | 2017-07-31 | 1 | -4/+10 |
| | | | | 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> | ||||
* | clusters: Add psformalism.py to simulate cluster catalog | Aaron LI | 2017-07-31 | 1 | -0/+230 |
| | | | | | | Also updated configuration options. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO" | Aaron LI | 2017-07-31 | 4 | -7/+4 |
| | | | | 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/halo.py: Add description for "time_crossing" property | Aaron LI | 2017-07-31 | 1 | -0/+6 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Update references a bit | Aaron LI | 2017-07-31 | 1 | -19/+15 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | cluster/halo.py: Add method "calc_brightness_mean()" | Aaron LI | 2017-07-30 | 1 | -0/+48 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo.py: Add property "angular_radius" (unit: [arcsec]) | Aaron LI | 2017-07-30 | 1 | -0/+10 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Remove methods and clean up parameters | Aaron LI | 2017-07-29 | 1 | -78/+2 |
| | | | | | | | | * Methods "power()", "flux()" already moved to "halo.py"; * Method "brightness()" will also be moved over there; * Clean up thus unused parameters "z" and "radius", as well as imports. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo.py: Add methods "calc_power()" and "calc_flux()" | Aaron LI | 2017-07-29 | 1 | -0/+50 |
| | | | | | | | Calculate the synchrotron power (a.k.a. specific luminosity) and flux density from the emissivity for the halo. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo.py: Add method "calc_emissivity()" | Aaron LI | 2017-07-29 | 1 | -6/+37 |
| | | | | | | | This method invokes ``SynchrotronEmission`` to calculate the synchrotron emissivity at specified frequencies for the derived electron spectrum. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo.py: Add property "volume" (unit: [cm^3]) | Aaron LI | 2017-07-29 | 1 | -0/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: support calc emissivity at multiple frequencies | Aaron LI | 2017-07-29 | 1 | -17/+27 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Add property "B_gauss" | Aaron LI | 2017-07-29 | 1 | -7/+11 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Cache kernel function interpolation results | Aaron LI | 2017-07-27 | 1 | -22/+22 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Fix units/dimensions problem | Aaron LI | 2017-07-26 | 1 | -1/+2 |
| | | | | | | | | | | | NOTE: Since we just substitute ``p`` (electron momentum) for ``γ`` (electron Lorentz factor), i.e., N = int_p n(p) dp = int_γ n(γ) dγ , therefore the coefficient ``sqrt(3) e^3 B / (m c^2)`` does NOT need modification (e.g., multiply an extra ``m c``)! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: explain more on Larmor frequency | Aaron LI | 2017-07-26 | 1 | -4/+12 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/emission.py: Fix the calling to F(x) | Aaron LI | 2017-07-26 | 1 | -9/+6 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> |