Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters/formation.py: Add "last_major_merger" property | Aaron LI | 2017-07-19 | 1 | -1/+42 |
| | | | | | | | A new parameter "ratio_major" added to distinguish between major and minor merger events. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: Add method "_trace_main()" | Aaron LI | 2017-07-19 | 1 | -10/+77 |
| | | | | | | Also update "simulate_megertree()" default to trace only the main cluster. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: Simplify parameters handling | Aaron LI | 2017-07-19 | 1 | -28/+24 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | halo.py: Fix wrong cosmo.age() usage | Aaron LI | 2017-06-25 | 1 | -1/+1 |
| | |||||
* | solver.py: Fix coefficients calculation w.r.t. escape term | Aaron LI | 2017-06-25 | 1 | -5/+6 |
| | |||||
* | solver.py: Add example for TDMAsolver() | Aaron LI | 2017-06-25 | 1 | -0/+16 |
| | |||||
* | clusters/solver.py: Split methods bound_w/Wplus/Wminus | Aaron LI | 2017-06-25 | 1 | -14/+36 |
| | | | | Also change an INFO message to be DEBUG level. | ||||
* | clusters/solver.py: Fix "fix_boundary()" and remove a warning | Aaron LI | 2017-06-25 | 1 | -6/+5 |
| | |||||
* | clusters/solver.py: Support escape term | Aaron LI | 2017-06-25 | 1 | -5/+12 |
| | |||||
* | halo.py: Add argument "n0_e" to method "calc_electron_spectrum()" | Aaron LI | 2017-06-24 | 1 | -4/+10 |
| | |||||
* | halo.py: Split out property "_chi_data" | Aaron LI | 2017-06-24 | 1 | -31/+31 |
| | |||||
* | halo.py: Add property "pgrid" as same as it is in slover.py | Aaron LI | 2017-06-24 | 1 | -0/+10 |
| | |||||
* | halo.py: use age at cluster redshift z0 instead of present day | Aaron LI | 2017-06-24 | 1 | -6/+12 |
| | |||||
* | halo.py: Add property "zgrid" as well as config option "zbinsize" | Aaron LI | 2017-06-24 | 1 | -0/+8 |
| | |||||
* | clusters/halo.py: calculate electron density default end at z0 | Aaron LI | 2017-06-23 | 1 | -10/+12 |
| | |||||
* | mergertree.py: axes.hold() is deprecated and it is True by default | Aaron LI | 2017-06-23 | 1 | -1/+0 |
| | |||||
* | halo.py: calculate magnetic field using a scaling relation | Aaron LI | 2017-06-23 | 1 | -8/+22 |
| | |||||
* | halo.py + formation.py: Add argument z0 | Aaron LI | 2017-06-23 | 2 | -7/+18 |
| | |||||
* | emission.py: Add power(), flux(), brightness() methods | Aaron LI | 2017-06-23 | 1 | -25/+111 |
| | |||||
* | Use keyword "BUNIT" and unit "K" | Aaron LI | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | clusters.py: Fix calculation on size_{major,minor} | Aaron LI | 2017-06-11 | 1 | -15/+20 |
| | | | | | | | | The size_{major,minor} should be the major and minor (not semi-) axes of the cluster halo; but I originally calculated them as the semi-major and semi-minor axes. Also change the units of size_{major,minor} from [deg] to [arcmin]. | ||||
* | configs: extragalactic/halos: change "radius_halo" to "radius" | Aaron LI | 2017-06-01 | 1 | -5/+5 |
| | |||||
* | clusters: Move units.py and cosmology.py to utils | Aaron LI | 2017-06-01 | 5 | -291/+6 |
| | |||||
* | extragalactic/clusters/clusters.py: Trim unused imports | Aaron LI | 2017-06-01 | 1 | -2/+0 |
| | |||||
* | fg21sim/clusters: Save progress on halo simulation | Aaron LI | 2017-06-01 | 3 | -1/+27 |
| | |||||
* | clusters/halo.py: Add zbegin & zend parameters | Aaron LI | 2017-06-01 | 1 | -3/+37 |
| | | | | | * Add "zbegin" and "zend" parameters to "calculate_electron_spectrum()" * Add more detail docstrings | ||||
* | Add clusters/emission.py: Calculate synchrotron emissivity | Aaron LI | 2017-06-01 | 2 | -0/+123 |
| | | | | | | | Calculate the synchrotron emissivity from the given electron spectrum at specified frequency. Add the electron charge to units.Constants | ||||
* | halo.py: Rewrite "_coef_acceleration()" method | Aaron LI | 2017-06-01 | 1 | -15/+44 |
| | |||||
* | Bind ClusterFormation to HaloSingle | Aaron LI | 2017-06-01 | 2 | -1/+7 |
| | | | | Also add logging messages to simulate_mergertree() | ||||
* | cosmology.py: Optimize the speed of overdensity_crit() | Aaron LI | 2017-06-01 | 1 | -2/+11 |
| | |||||
* | Update to use custom units.py instead of astropy's | Aaron LI | 2017-06-01 | 3 | -52/+36 |
| | | | | Also fix a parameter error in "formation.py" | ||||
* | Add units.py: Commonly used units and conversions and constants | Aaron LI | 2017-06-01 | 1 | -0/+66 |
| | | | | | Astropy's unit conversions is too slow, thus store the used units conversions to avoid astropy's slow conversions. | ||||
* | mergertree.py: Implement function "plot_mtree()" | Aaron LI | 2017-06-01 | 1 | -2/+52 |
| | |||||
* | halo.py: Update to match MergerTree structures | Aaron LI | 2017-06-01 | 1 | -8/+8 |
| | |||||
* | Add clusters/formation.py: Simulate cluster merging history | Aaron LI | 2017-06-01 | 1 | -0/+230 |
| | |||||
* | mergertree.py: Remove "merged" parameter | Aaron LI | 2017-06-01 | 1 | -5/+1 |
| | |||||
* | solver.py: Avoid possible overflow when w is too large | Aaron LI | 2017-06-01 | 1 | -0/+10 |
| | |||||
* | halo.py: Force a minimal value on acceleration coefficient | Aaron LI | 2017-06-01 | 2 | -2/+26 |
| | | | | | | | To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5 | ||||
* | cosmology.py: Greatly optimize the speed! | Aaron LI | 2017-06-01 | 1 | -26/+57 |
| | |||||
* | cosmology.py: Only support flat ΛCDM cosmological model | Aaron LI | 2017-06-01 | 1 | -93/+25 |
| | |||||
* | clusters/halo: Add missing config "buffer_np" | Aaron LI | 2017-06-01 | 1 | -0/+2 |
| | |||||
* | clusters/solver.py: Extrapolate the x grid to avoid NaN's | Aaron LI | 2017-06-01 | 1 | -5/+15 |
| | |||||
* | clusters/solver.py: Disable a RuntimeWarning | Aaron LI | 2017-06-01 | 1 | -2/+4 |
| | |||||
* | clusters/clusters.py: Fix import path | Aaron LI | 2017-06-01 | 1 | -6/+6 |
| | |||||
* | Add clusters/halo.py: simulate single halo for cluster | Aaron LI | 2017-06-01 | 1 | -0/+698 |
| | | | | | Simulate (giant) radio halos following the "statistical magneto-turbulent model" proposed by Cassano & Brunetti (2005). | ||||
* | cosmology.py: Change name to "Cosmology"; Add "age0" and "Ob0" | Aaron LI | 2017-06-01 | 1 | -3/+18 |
| | |||||
* | Add clusters/solver.py to solve the Fokker-Planck equation | Aaron LI | 2017-06-01 | 1 | -0/+276 |
| | | | | | Adopt the finite difference scheme to solve the Fokker-Planck equation, following Park & Petrosian (1996, ApJS, 103, 255). | ||||
* | Add clusters/mergertree.py | Aaron LI | 2017-06-01 | 1 | -0/+77 |
| | | | | | The merger tree is a binary tree that represents the merging (or formation) history of a cluster. | ||||
* | Add clusters/cosmology.py with common cosmological models | Aaron LI | 2017-06-01 | 1 | -0/+230 |
| | | | | | | Mainly the "flat LambdaCDM" and "EdS" cosmological models. With some useful utility functions. | ||||
* | Make separate directory for clusters, prepare for halo simulations | Aaron LI | 2017-06-01 | 2 | -0/+732 |