onepower.ia.SatelliteAlignment#

class onepower.ia.SatelliteAlignment(*args, **kwargs)[source]#

A class to compute the alignment properties of satellite galaxies within dark matter halos. This includes calculating the Hankel transform, radial profiles, and other related quantities.

Methods

I_x(a, b)

Compute the integral of (1 - x^2)^(a/2) * x^b from -1 to 1.

__init__([mass_in, c_in, r_s_in, rvir_in, ...])

broken_powerlaw(xlum, pdf, gamma_2h_lum, l0, ...)

Compute the broken power law.

calculate_f_ell(ell, gamma_b)

Computes the angular part of the satellite intrinsic shear field.

clone(**kwargs)

Create and return an updated clone of the current object.

compute_luminosity_pdf(z_loglum_file, nlbins)

Compute the luminosity PDF.

gamma_r_nfw_profile(r, rs, rvir, a, b[, ...])

Compute the radial profile of the NFW (Navarro-Frenk-White) profile with a power-law correction.

get_all_parameter_defaults([recursive])

Dictionary of all parameters and defaults.

get_all_parameter_names()

Yield all parameter names in the class.

get_dependencies(*q)

Determine all parameter dependencies of the quantities in q.

mean_l_l0_to_beta(xlum, pdf, l0, beta)

Compute the mean luminosity scaling.

parameter_info([names])

Prints information about each parameter in the class.

quantities_available()

Obtain a list of all available output quantities.

update(**kwargs)

Update parameters of the framework with kwargs.

upsampled_wkm(k_vec_out, mass_out)

Interpolates the wkm profiles and upsamples back to the original grid.

validate()

Perform validation of the input parameters as they relate to each other.

Attributes

alignment_gi

Compute the alignment_gi based on the central galaxies' properties.

beta_cen

Beta parameter for central galaxies.

beta_sat

float Beta parameter for satellite galaxies.

c

Downsampled c_in if method == hankel, c_in otherwise.

c_in

Concentration parameter.

central_ia_depends_on

Validate the central intrinsic alignment dependencies.

compute_uell_gamma_r_hankel

Computes a 4D array containing u_ell as a function of l, z, m, and k.

ell_max

Maximum multipole moment.

ell_values

Sets the ell values array.

gamma_1h_amp

Compute the gamma_1h_amplitude based on the satellite galaxies' properties.

gamma_1h_amplitude

Amplitude for 1-halo term.

gamma_1h_slope

Slope for 1-halo term.

gamma_2h_amplitude

Amplitude for 2-halo term.

hankel

Initialize Hankel transform.

k_vec

Sets the k vector array.

lpivot_cen

Pivot luminosity for central galaxies.

lpivot_sat

Pivot luminosity for satellite galaxies.

lum_centrals

Returns the luminosity array for centrals.

lum_pdf_z_centrals

Returns the luminosity array for satellites.

lum_pdf_z_satellites

Returns the luminosity PDF array for satellites.

lum_satellites

Returns the luminosity PDF array for centrals.

mass

Downsampled mass_in if method == hankel, mass_in otherwise.

mass_in

Array of halo masses.

method

Which method to perform Fourier/Hankel transform to use

mpivot_cen

Pivot mass for central galaxies.

mpivot_sat

Pivot mass for satellite galaxies.

n_hankel

Number of steps in the Hankel transform integration.

nk

Number of k bins.

nmass

Number of mass bins.

parameter_values

Dictionary of all parameters and their current values

r_s

Downsampled r_s_in if method == hankel, r_s_in otherwise.

r_s_in

Scale radius.

rvir

Downsampled rvir_in if method == hankel, rvir_in otherwise.

rvir_in

Virial radius.

satellite_ia_depends_on

Validate the satellite intrinsic alignment dependencies.

truncate

Whether to truncate the NFW profile at the virial radius.

wkm

Return the computed wkm_f_ell values along with the redshift, mass, and k vectors.

wkm_f_ell

Integral of the angular part in eq B8 (SB10) using the Legendre polynomials assuming theta_e=theta, phi_e=phi (perfect radial alignment).

z_loglum_file_centrals

File path for central galaxy luminosity data.

z_loglum_file_satellites

File path for satellite galaxy luminosity data.

z_vec

Redshift vector.