hmfast.halos.profiles.PressureProfile

class hmfast.halos.profiles.PressureProfile[source]

Bases: HaloProfile

Parent ICM pressure profile class from which pressure profile classes inherit.

Child profile classes must implement real() and fourier().

Methods

fourier(halo_model, k, m, z)

Compute the projected Fourier-space pressure profile for halo-model calculations.

real(halo_model, r, m, z)

fourier(halo_model, k, m, z)[source]

Compute the projected Fourier-space pressure profile for halo-model calculations.

Parameters:
halo_modelHaloModel

Halo model providing the cosmology and halo-radius relation.

kfloat or jnp.ndarray

Comoving wavenumber(s) in \(\mathrm{Mpc}^{-1}\).

mfloat or jnp.ndarray

Halo mass or masses in physical \(M_\odot\).

zfloat or jnp.ndarray

Redshift(s).

Returns:
jnp.ndarray

Transformed profile with shape \((N_k, N_m, N_z)\), where singleton dimensions get squeezed before return.

abstractmethod real(halo_model, r, m, z)