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.
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.
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
Compute the alignment_gi based on the central galaxies' properties.
Beta parameter for central galaxies.
float Beta parameter for satellite galaxies.
Downsampled c_in if method == hankel, c_in otherwise.
Concentration parameter.
Validate the central intrinsic alignment dependencies.
Computes a 4D array containing u_ell as a function of l, z, m, and k.
Maximum multipole moment.
Sets the ell values array.
Compute the gamma_1h_amplitude based on the satellite galaxies' properties.
Amplitude for 1-halo term.
Slope for 1-halo term.
Amplitude for 2-halo term.
Initialize Hankel transform.
Sets the k vector array.
Pivot luminosity for central galaxies.
Pivot luminosity for satellite galaxies.
Returns the luminosity array for centrals.
Returns the luminosity array for satellites.
Returns the luminosity PDF array for satellites.
Returns the luminosity PDF array for centrals.
Downsampled mass_in if method == hankel, mass_in otherwise.
Array of halo masses.
Which method to perform Fourier/Hankel transform to use
Pivot mass for central galaxies.
Pivot mass for satellite galaxies.
Number of steps in the Hankel transform integration.
Number of k bins.
Number of mass bins.
Dictionary of all parameters and their current values
Downsampled r_s_in if method == hankel, r_s_in otherwise.
Scale radius.
Downsampled rvir_in if method == hankel, rvir_in otherwise.
Virial radius.
Validate the satellite intrinsic alignment dependencies.
Whether to truncate the NFW profile at the virial radius.
Return the computed wkm_f_ell values along with the redshift, mass, and k vectors.
Integral of the angular part in eq B8 (SB10) using the Legendre polynomials assuming theta_e=theta, phi_e=phi (perfect radial alignment).
File path for central galaxy luminosity data.
File path for satellite galaxy luminosity data.
Redshift vector.