diff options
author | Aaron LI <aly@aaronly.me> | 2018-01-05 17:58:43 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-01-05 17:58:43 +0800 |
commit | f4ed13d9eef250a8a2b094c53e93d6b7316bd0f4 (patch) | |
tree | bfc0b78584995f0c5bbb1a1311fa51b9acc4f290 | |
parent | 3d557e0507499e28a56023b9f4a428531bcfd22a (diff) | |
download | fg21sim-f4ed13d9eef250a8a2b094c53e93d6b7316bd0f4.tar.bz2 |
clusters: update _simulate_halos() with new halo properties
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index c677f92..a060416 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -263,25 +263,23 @@ class GalaxyClusters: configs=self.configs) n_e = halo.calc_electron_spectrum() data = OrderedDict([ - ("z0", halo.z_obs), - ("M0", halo.M_obs), # [Msun] - ("Rvir0", halo.radius_virial_obs), # [kpc] - ("kT0", halo.kT_obs), # [keV] - ("B0", halo.B_obs), # [uG] magnetic field @ z_obs + ("z0", z_obs), + ("M0", M_obs), # [Msun] ("lon", cdict["lon"]), # [deg] longitude ("lat", cdict["lat"]), # [deg] longitude ("felong", cdict["felong"]), # fraction of elongation ("rotation", cdict["rotation"]), # [deg] rotation angle - ("M_main", halo.M_main), # [Msun] - ("M_sub", halo.M_sub), # [Msun] - ("kT_main", halo.kT_main), # [keV] main cluster kT @ z_merger - ("time_turbulence", halo.time_turbulence), # [Gyr] + ("Rvir0", halo.radius_virial_obs), # [kpc] + ("kT0", halo.kT_obs), # [keV] + ("B0", halo.B_obs), # [uG] magnetic field @ z_obs ("Rhalo", halo.radius), # [kpc] ("Rhalo_angular", halo.angular_radius), # [arcsec] ("volume", halo.volume), # [kpc^3] - ("Mach_turb", halo.mach_turbulence), # turbulence Mach number - ("tau_acc", halo.tau_acceleration()), # [Gyr] ("Ke", halo.injection_rate), # [cm^-3 Gyr^-1] + ("time_turbulence", halo.time_turbulence_avg), # [Gyr] + ("Mach_turb", halo.mach_turbulence_avg), # Mach number + ("tau_acc", halo.tau_acceleration_avg), # [Gyr] + ("tfrac_acc", halo.time_acceleration_fraction), ("gamma", halo.gamma), # Lorentz factors ("n_e", n_e), # [cm^-3] ]) |