Add cluster physics to the simulations

class ClusterScalingRelations.ClusterScalingRelations[source]

The class clusterScalingRelations is a wrapper to add cluster physics to the Multidark simulations results / outputs.

Based on
  • Mantz et al. 2010b
  • Zandanel et al. 2014
To improve
  • use M200c instead to be consistent with WL
  • weak lensing, M500
  • look at weighting the giant
  • M200 mean in cosmo codes
  • changing the slope as s function of mass
  • add substructure
class ClusterScalingRelations.ClusterScalingRelations(Lbox=<Quantity 2500.0 Mpc>, boxDir='/home/comparat/data/MultiDark', snl=[], Hbox=<Quantity 67.77 km / (Mpc s)>, Melement=23593750000.0)[source]

Loads the environement to assign stellar masses to halos from dark matter only simulations, here MultiDark simulations. :param Lbox: length of the box in Mpc/h :param wdir: Path to the multidark lightcone directory :param boxDir: box directory name :param snl: list of snapshots available :param zsl: list of redshift corresponding to the snapshots :param zArray: redshift array to be considered to interpolate the redshift – distance conversion :param Hbox: Hubble constant at redshift 0 of the box :param Melement: Mass of the resolution element in solar masses. :param columnDict: dictionnary to convert column name into the index to find it in the snapshots

get_Tci_K(Mh_500, z, h=0.7, h70=1.0)[source]

Samples with a Gaussian the Tci – M500 scaling relation

returns the temperature in Kelvin

get_kbTci_keV(Mh_500, z, h=0.7, h70=1.0)[source]

Samples with a Gaussian the Tci – M500 scaling relation

returns the temperature in keV

logLxbol(Mh_500, z, h70=1.0)[source]

Computes the bolometric X-ray luminosity for a halo of mass Mh_500 Returns : the bolometrix X-ray luminosity in keV

Parameters:
  • Mh_500 – halo mass array
  • z – redshift array
logkbTci(Mh_500, z, h=0.7, h70=1.0)[source]

Computes the cluster temperature no centrally excised after Mantz et al. 2010b.

Returns : log of the temperature in keV

Parameters:
  • Mh_500 – halo mass array
  • z – redshift array