From f4ed13d9eef250a8a2b094c53e93d6b7316bd0f4 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 5 Jan 2018 17:58:43 +0800 Subject: clusters: update _simulate_halos() with new halo properties --- fg21sim/extragalactic/clusters/main.py | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'fg21sim/extragalactic') 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] ]) -- cgit v1.2.2