aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
Commit message (Collapse)AuthorAgeFilesLines
* clusters/halo: Fix passing the "configs" objectAaron LI2017-10-252-4/+6
|
* clusters/halo: Always pass the using configsAaron LI2017-10-242-9/+12
| | | | | The user-using `configs` object may be different to the global `CONFIGS`, which may be forgotten to load the up-to-date user configurations.
* configs: Add parameter "reset" to "read_userconfig()"Aaron LI2017-10-241-12/+20
|
* configs: add __getitem__() and __setitem__() methodsAaron LI2017-10-241-1/+8
|
* clusters/halo: Change zbegin/zend to tstart/tsop (use cosmic time)Aaron LI2017-10-241-19/+20
|
* clusters/halo: Add method "_magnetic_field()"Aaron LI2017-10-241-2/+23
|
* clusters/halo: Rename property "magnetic_field" to "B_obs"Aaron LI2017-10-242-4/+4
|
* clusters/halo: Allow specify magnetic field in calc_emissivity()Aaron LI2017-10-241-9/+14
|
* clusters/halos: Fix halo radius calculationAaron LI2017-10-231-3/+5
| | | | Also change the parameter "nr" default to 2.0 for draw_halo() function.
* clusters/psformalism: Use functools.lru_cache()Aaron LI2017-10-231-0/+3
|
* clusters/halo: merge halo_rprofile() & draw_halo(); Fix halo radius errorAaron LI2017-10-232-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 NoneAaron LI2017-10-231-4/+5
|
* clusters/halo: Use "lru_cache()", also improves some performanceAaron LI2017-10-233-13/+26
|
* clusters/formation: Fix problem that no mergers occurredAaron LI2017-10-222-2/+9
|
* clusters/halo: Add "use_max_merger" option to allow use max merger eventsAaron LI2017-10-222-24/+40
|
* clusters/formation: Add method to found the maximum merger eventAaron LI2017-10-221-1/+51
|
* clusters/halo: Add option "kT_out" to tune cluster temperatureAaron LI2017-10-223-5/+16
|
* configs: Update option descriptionAaron LI2017-10-211-4/+5
|
* clusters/halo: Rewrite turbulence acceleration & diffusion coefficient!Aaron LI2017-10-213-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 propertiesAaron LI2017-10-212-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 LI2017-10-211-2/+1
|
* clusters/halo: Add function "speed_sound()"Aaron LI2017-10-212-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 densityAaron LI2017-10-203-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 LI2017-10-201-39/+0
|
* clusters/halo: Add "kT_obs" and "tback_merger" propertiesAaron LI2017-10-192-2/+19
|
* clusters/halo: Use "kT_cluster()" instead of "mass_to_kT()"Aaron LI2017-10-192-4/+4
|
* clusters/halo: Add kT_cluster() to calculate the cluster ICM temperatureAaron LI2017-10-191-0/+25
|
* clusters/helper: Add kT_virial() to calculate the virial temperatureAaron LI2017-10-191-0/+36
|
* clusters/halo: rewrite power/flux/Tb calc with k-correction consideredAaron LI2017-10-193-130/+98
|
* Bump version to v0.6.2v0.6.2Aaron LI2017-10-191-1/+1
|
* clusters/halo: Fix load halos data; fix save halos catalogAaron LI2017-10-191-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 descriptionAaron LI2017-10-191-12/+12
|
* clusters/halo: Force to use cluster catalog if use_dump_halos_data=TrueAaron LI2017-10-191-0/+5
|
* clusters/halo: Support use the previously dumped halos raw dataAaron LI2017-10-193-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()" methodAaron LI2017-10-191-11/+32
|
* clusters/halo: Add set_electron_spectrum() method; update doc a bitAaron LI2017-10-191-1/+26
|
* clusters/halo: Add and use attribute "self.halos_data_dumpfile"Aaron LI2017-10-191-2/+4
|
* clusters/halo: Rewrite halos catalog and raw data saveAaron LI2017-10-192-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 requiredAaron LI2017-10-192-3/+3
|
* clusters/halo: Improve time step determination a bitAaron LI2017-10-192-3/+6
|
* clusters/halo: Increase the time step, but require a minimum of 20 stepsAaron LI2017-10-182-1/+8
|
* clusters: Update radio halo radius estimationAaron LI2017-10-182-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/simplificationsAaron LI2017-10-181-16/+20
|
* utils/analyze.py: countdist_integrated(): Add xmin and xmax param.Aaron LI2017-10-181-2/+15
|
* clusters: More regular shape for radio halosAaron LI2017-10-161-6/+5
|
* configs: remove "filemode" optionAaron LI2017-10-162-6/+2
|
* clusters: Update the documents/comments a b itAaron LI2017-10-142-11/+6
|
* clusters/solver.py: Add FokkerPlanckTests with 3 casesAaron LI2017-10-121-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 LI2017-10-121-10/+30
| | | | Also suggest that ``buffer_np`` be specified to 5%-10% of ``x_np``.
* clusters/solver.py: Small tweaksAaron LI2017-10-071-8/+6
|