Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | clusters/halo: Change zbegin/zend to tstart/tsop (use cosmic time) | Aaron LI | 2017-10-24 | 1 | -19/+20 | |
| | ||||||
* | clusters/halo: Add method "_magnetic_field()" | Aaron LI | 2017-10-24 | 1 | -2/+23 | |
| | ||||||
* | clusters/halo: Rename property "magnetic_field" to "B_obs" | Aaron LI | 2017-10-24 | 2 | -4/+4 | |
| | ||||||
* | clusters/halo: Allow specify magnetic field in calc_emissivity() | Aaron LI | 2017-10-24 | 1 | -9/+14 | |
| | ||||||
* | 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/psformalism: Use functools.lru_cache() | Aaron LI | 2017-10-23 | 1 | -0/+3 | |
| | ||||||
* | clusters/halo: merge halo_rprofile() & draw_halo(); Fix halo radius error | Aaron LI | 2017-10-23 | 2 | -40/+28 | |
| | | | | | | | * 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 | |||||
* | utils/transform/circle2ellipse: skip rotation if it's None | Aaron LI | 2017-10-23 | 1 | -4/+5 | |
| | ||||||
* | clusters/halo: Use "lru_cache()", also improves some performance | Aaron LI | 2017-10-23 | 3 | -13/+26 | |
| | ||||||
* | clusters/formation: Fix problem that no mergers occurred | Aaron LI | 2017-10-22 | 2 | -2/+9 | |
| | ||||||
* | clusters/halo: Add "use_max_merger" option to allow use max merger events | Aaron LI | 2017-10-22 | 2 | -24/+40 | |
| | ||||||
* | clusters/formation: Add method to found the maximum merger event | Aaron LI | 2017-10-22 | 1 | -1/+51 | |
| | ||||||
* | clusters/halo: Add option "kT_out" to tune cluster temperature | Aaron LI | 2017-10-22 | 3 | -5/+16 | |
| | ||||||
* | configs: Update option description | Aaron LI | 2017-10-21 | 1 | -4/+5 | |
| | ||||||
* | clusters/halo: Rewrite turbulence acceleration & diffusion coefficient! | Aaron LI | 2017-10-21 | 3 | -60/+104 | |
| | | | | | | | | | | | | 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 | 2 | -12/+39 | |
| | | | | | | * 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 function "speed_sound()" | Aaron LI | 2017-10-21 | 2 | -0/+31 | |
| | | | | 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 | 3 | -40/+30 | |
| | | | | | | | | | | * 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: Add "kT_obs" and "tback_merger" properties | Aaron LI | 2017-10-19 | 2 | -2/+19 | |
| | ||||||
* | clusters/halo: Use "kT_cluster()" instead of "mass_to_kT()" | Aaron LI | 2017-10-19 | 2 | -4/+4 | |
| | ||||||
* | 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 | 3 | -130/+98 | |
| | ||||||
* | Bump version to v0.6.2v0.6.2 | Aaron LI | 2017-10-19 | 1 | -1/+1 | |
| | ||||||
* | 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: Update configuration defaults and description | Aaron LI | 2017-10-19 | 1 | -12/+12 | |
| | ||||||
* | 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 | 3 | -1/+26 | |
| | | | | | | 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 set_electron_spectrum() method; update doc a bit | Aaron LI | 2017-10-19 | 1 | -1/+26 | |
| | ||||||
* | 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 | 2 | -18/+50 | |
| | | | | | 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 | 2 | -3/+3 | |
| | ||||||
* | clusters/halo: Improve time step determination a bit | Aaron LI | 2017-10-19 | 2 | -3/+6 | |
| | ||||||
* | clusters/halo: Increase the time step, but require a minimum of 20 steps | Aaron LI | 2017-10-18 | 2 | -1/+8 | |
| | ||||||
* | clusters: Update radio halo radius estimation | Aaron LI | 2017-10-18 | 2 | -23/+25 | |
| | | | | | | | | | 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]. | |||||
* | utils/units.py: add "rad2arcmin" and some cleanup/simplifications | Aaron LI | 2017-10-18 | 1 | -16/+20 | |
| | ||||||
* | utils/analyze.py: countdist_integrated(): Add xmin and xmax param. | Aaron LI | 2017-10-18 | 1 | -2/+15 | |
| | ||||||
* | clusters: More regular shape for radio halos | Aaron LI | 2017-10-16 | 1 | -6/+5 | |
| | ||||||
* | configs: remove "filemode" option | Aaron LI | 2017-10-16 | 2 | -6/+2 | |
| | ||||||
* | clusters: Update the documents/comments a b it | Aaron LI | 2017-10-14 | 2 | -11/+6 | |
| | ||||||
* | clusters/solver.py: Add FokkerPlanckTests with 3 cases | Aaron LI | 2017-10-12 | 1 | -9/+158 | |
| | | | | | | | | The FokkerPlanckSolver is validated with all the 3 test cases! References: * Park & Petrosian 1996, ApJS, 103, 255 * Donnert & Brunetti 2014, MNRAS, 443, 3564 | |||||
* | clusters/solver.py: significantly improve fix_boundary() | Aaron LI | 2017-10-12 | 1 | -10/+30 | |
| | | | | Also suggest that ``buffer_np`` be specified to 5%-10% of ``x_np``. | |||||
* | clusters/solver.py: Small tweaks | Aaron LI | 2017-10-07 | 1 | -8/+6 | |
| | ||||||
* | clusters/solver.py: Adjust parameter tc,uc orders | Aaron LI | 2017-10-06 | 1 | -10/+7 | |
| | ||||||
* | clusters/solver.py: Stop calc. at "tstop" by adding "tstep" parameter | Aaron LI | 2017-10-06 | 1 | -12/+19 | |
| | ||||||
* | clusters/solver.py: Update comments/references/descriptions etc. | Aaron LI | 2017-10-06 | 1 | -25/+31 | |
| | ||||||
* | clusters/psformalism.py: Rewrite sample_z_m() method | Aaron LI | 2017-10-04 | 2 | -38/+54 | |
| | | | | | Also update clusters/main.py to calculate the halo mass distributions before sampling the mass and redshifts for clusters. |