Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | clusters/emission.py: Rewrite emissivity calculation | Aaron LI | 2017-07-26 | 1 | -15/+24 | |
| | | | | | | | | | | Use 2D grid of (discrete) samples to optimize integration speed, avoiding the more complicated integration w.r.t. functions. WARNING: Current calculation results seems wrong! Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/emission.py: Update arguments | Aaron LI | 2017-07-26 | 1 | -28/+28 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/emission.py: Rewrite Synchrotron kernel function calculation | Aaron LI | 2017-07-26 | 1 | -3/+41 | |
| | | | | | | | Use interpolation to optimize the speed as well as to vectorize the function to ease calling. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: Add property "magnetic_field" | Aaron LI | 2017-07-26 | 1 | -0/+11 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/solver.py: Use multiple data points to fit the power-law | Aaron LI | 2017-07-25 | 1 | -17/+19 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs: Update [[halos]] sections a bit | Aaron LI | 2017-07-25 | 1 | -5/+6 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo: Change config "eta_turb" to "beta_turb" | Aaron LI | 2017-07-25 | 2 | -6/+5 | |
| | | | | | | | | | | This configuration option "beta_turb" has different meaning as "eta_turb" in [Cassano & Brunetti 2005], though they can both be an indicator for the turbulence acceleration efficiency. Rename this configuration option to make the difference more clear. 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/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> | |||||
* | clusters: Accept 1D numpy array and calculate values for all gamma's | Aaron LI | 2017-07-23 | 2 | -21/+27 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: Constrain tau_acc to avoid zero diffusion | Aaron LI | 2017-07-23 | 2 | -2/+22 | |
| | | | | | | | | | | Zero or negative diffusion coefficient leads to unstable or wrong results due to numerical algorithm/scheme adopted to solve the Fokker-Planck equation. Also add a NOTE to the FokkerPlanckSolver class. 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> | |||||
* | Update bin scripts to use global "CONFIGS" | Aaron LI | 2017-07-23 | 9 | -60/+42 | |
| | | | | | | Also update copyright year/email and minor cleanups Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Use all uppercase to identify the global CONFIGS and COSMO | Aaron LI | 2017-07-22 | 9 | -54/+50 | |
| | | | | | | 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 | 2 | -72/+57 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: Implement "_injection_rate" property | Aaron LI | 2017-07-22 | 1 | -6/+56 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters: Move "magnetic_field()" function to helper.py | Aaron LI | 2017-07-22 | 2 | -24/+40 | |
| | | | | | | Import the global "configs" in helper.py to make parameters lean. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs/manager.py: Add formatter for handlers | Aaron LI | 2017-07-22 | 1 | -1/+8 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/units.py: Add "mec2" energy of a still electron | Aaron LI | 2017-07-22 | 1 | -1/+5 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters: Rename "last major merger" to "recent major merger" | Aaron LI | 2017-07-22 | 2 | -26/+25 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: update parameters and methods | Aaron LI | 2017-07-22 | 1 | -46/+119 | |
| | | | | | | Still WIP... Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs: Update cosmology parameters (Komatsu et al. 2011) | Aaron LI | 2017-07-22 | 1 | -1/+2 | |
| | | | | | | References: Komatsu et al. 2011, ApJS, 192, 18; Tab.(1) Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: More cleanups with minor updates | Aaron LI | 2017-07-22 | 2 | -70/+98 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/halo.py: Significant cleanups | Aaron LI | 2017-07-22 | 1 | -551/+2 | |
| | | | | | | | Several methods/functions have been migrated into "helper.py", while other methods/functions are obsolete. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/solver.py: Improve documents and clean up | Aaron LI | 2017-07-22 | 1 | -14/+49 | |
| | | | | | | | | TODO: adaptively determine the proper time step instead of using a constant one. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters: Use "GalaxyClusters" from main.py | Aaron LI | 2017-07-22 | 1 | -2/+2 | |
| | | | | | | The "clusters.py" is deprecated and will be deleted later. 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> | |||||
* | clusters/main.py: Add property "halo_configs" | Aaron LI | 2017-07-22 | 2 | -28/+44 | |
| | | | | | | And update the config specification accordingly with some cleanups. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Update README.rst against recent changes | Aaron LI | 2017-07-22 | 1 | -8/+11 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/cosmology.py: Add property "baryon_fraction" | Aaron LI | 2017-07-21 | 1 | -0/+9 | |
| | | | | | | XXX: assumed to be independent of redshifts! Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/main.py: Add "_magnetic_field()" method | Aaron LI | 2017-07-21 | 2 | -8/+40 | |
| | | | | | | Also update the configurations 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> | |||||
* | Use the global "cosmo" instance for simplification | Aaron LI | 2017-07-21 | 4 | -53/+34 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | README.rst: update "development" section with DEBUG info | Aaron LI | 2017-07-21 | 1 | -1/+4 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Fix parameter names about cosmology | Aaron LI | 2017-07-21 | 2 | -4/+4 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | bin/fg21sim: Setup cosmology model at the beginning | Aaron LI | 2017-07-21 | 2 | -4/+9 | |
| | | | | | | | | * Update copyright * Add a help on "DEBUG_FG21SIM" * Also fix a bug in cosmology setup() Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | checkers.py: Drop resolution check to avoid circular importing error | Aaron LI | 2017-07-21 | 1 | -7/+0 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs: Default to not generate products manifest | Aaron LI | 2017-07-21 | 1 | -2/+4 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils: Import Cosmology and make "cosmo" a global instance | Aaron LI | 2017-07-21 | 1 | -1/+4 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | cosmology.py: Add "setup()" method to allow update parameters | Aaron LI | 2017-07-21 | 1 | -11/+38 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs/manager.py: Add property "cosmology" | Aaron LI | 2017-07-21 | 1 | -0/+15 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | foregrounds.py: Do not create products manifest if not configured | Aaron LI | 2017-07-21 | 1 | -6/+15 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs/manager.py: get_path() return None if value is an empty string | Aaron LI | 2017-07-21 | 1 | -2/+5 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Add missing requirement "reproject" | Aaron LI | 2017-07-20 | 2 | -0/+3 | |
| | | | | | | Also works with Python 3.6 (basic tests at the moment) Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | README.rst: Add a "development" installation section | Aaron LI | 2017-07-20 | 1 | -2/+12 | |
| | | | | | | Also cleanup a bit on requirements and installation guide. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | setup.py: Fix the missing directory for scripts | Aaron LI | 2017-07-20 | 1 | -1/+1 | |
| | | | | | | This fixes the installation failure bug. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Bump version to 0.4.2 (forgot when tagging) | Aaron LI | 2017-07-20 | 1 | -1/+1 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> |