radial_profiles#

radial_profiles.RadialProfile objects and associated tools for working with analytically defined profiles.

Functions

ad07_density_profile(T0, t, a, alpha, f[, ...])

Pseudo-polytropic gas density profile from [AsDi08].

ad07_temperature_profile(T0, t, a, alpha)

Pseudo-polytropic gas temperature profile from [AsDi08].

am06_density_profile(rho_0, a, a_c, c, n)

The density profile for galaxy clusters suggested by [AsMa06].

am06_temperature_profile(T_0, a, a_c, c)

The temperature profile for galaxy clusters suggested by [AsMa06].

baseline_entropy_profile(K_0, K_200, r_200, ...)

The baseline entropy profile for galaxy clusters [VoKB05].

beta_model_profile(rho_c, r_c, beta)

A beta-model density profile [CaFu76].

broken_entropy_profile(r_s, K_scale, alpha)

Generate a broken entropy profile

constant_profile(const)

Provide constant profile.

convert_nfw_to_hernquist(M_200, r_200, conc)

Given M200, r200, and a concentration parameter for an NFW profile [NaFrW90], return the Hernquist ([Hern90]) mass and scale radius parameters.

cored_hernquist_density_profile(M_0, a, b)

A Hernquist density profile [Hern90] with a core radius.

cored_snfw_density_profile(M, a, r_c)

A cored "super-NFW" density profile [LiWyS18].

cored_snfw_mass_profile(M, a, r_c)

A cored "super-NFW" mass profile [LiWyS18].

cored_snfw_total_mass(mass, radius, a, r_c)

Find the total mass parameter for the cored super-NFW model [LiWyS18] by inputting a reference mass and radius (say, M200c and R200c), along with the scale radius.

einasto_density_profile(M, r_s, n)

A density profile where the logarithmic slope is a power-law [Eina65].

einasto_mass_profile(M, r_s, n)

A mass profile where the logarithmic slope is a power-law [Eina65].

find_overdensity_radius(m, delta[, z, cosmo])

Given a mass value and an overdensity, find the radius that corresponds to that enclosed mass.

find_radius_mass(m_r, delta[, z, cosmo])

Given a mass profile and an overdensity, find the radius and mass (e.g. M200, r200).

hernquist_density_profile(M_0, a)

A Hernquist density profile [Hern90].

hernquist_mass_profile(M_0, a)

A Hernquist mass profile [Hern90].

nfw_density_profile(rho_s, r_s)

An NFW density profile [NaFrW90].

nfw_mass_profile(rho_s, r_s)

An NFW mass profile [NaFrW90].

nfw_scale_density(conc[, z, delta, cosmo])

Compute a scale density parameter for an NFW profile [NaFrW90] given a concentration parameter, and optionally a redshift, overdensity, and cosmology.

power_law_profile(A, r_s, alpha)

A profile which is a power-law with radius, scaled so that it has a certain value A at a scale radius r_s.

rescale_profile_by_mass(profile, mass, radius)

Rescale a density profile by a total mass within some radius.

snfw_conc(conc_nfw)

Given an NFW concentration parameter, calculate the corresponding sNFW concentration parameter.

snfw_density_profile(M, a)

A "super-NFW" density profile [LiWyS18].

snfw_mass_profile(M, a)

A "super-NFW" mass profile [LiWyS18].

snfw_total_mass(mass, radius, a)

Find the total mass parameter for the super-NFW model [LiWyS18] by inputting a reference mass and radius (say, M200c and R200c), along with the scale radius.

tnfw_density_profile(rho_s, r_s, r_t)

A truncated NFW [NaFrW90] (tNFW) density profile [BaMaO09].

tnfw_mass_profile(rho_s, r_s, r_t)

A truncated NFW (tNFW) mass profile [BaMaO09].

vikhlinin_density_profile(rho_0, r_c, r_s, ...)

A modified beta-model density profile for galaxy clusters from [ViKrF06].

vikhlinin_temperature_profile(T_0, a, b, c, ...)

A temperature profile for galaxy clusters from [ViKrF06].

walker_entropy_profile(r_200, A, B, K_scale)

Generate a walker entropy profile.

Classes

RadialProfile(profile[, name])

The radial_profiles.RadialProfile class acts as a wrapper on standard functions to represent radial profiles for different physical variables.