onepower.bnl.NonLinearBias#
- class onepower.bnl.NonLinearBias(*args, **kwargs)[source]#
A class to compute the non-linear bias using the Dark Emulator.
Methods
__init__
([mass, z_vec, k_vec, h0, sigma_8, ...])clone
(**kwargs)Create and return an updated clone of the current object.
compute_bnl_darkquest
(z, log10M1, log10M2, ...)Compute the non-linear bias using the Dark Emulator.
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.
high_k_truncation
(k, k_trunc)Apply high-k truncation to the non-linear bias.
hl_envelopes_idx
(data[, dmin, dmax])Extract high and low envelope indices from a 1D data signal.
low_k_truncation
(k, k_trunc)Apply low-k truncation to the non-linear bias.
parameter_info
([names])Prints information about each parameter in the class.
Obtain a list of all available output quantities.
rvir
(mass)Compute the virial radius for a given halo mass.
test_cosmo
(cparam_in)Adjust cosmological parameters to be within the range of the Dark Emulator.
update
(**kwargs)Update parameters of the framework with kwargs.
validate
()Perform validation of the input parameters as they relate to each other.
Attributes
Amplitude of the primordial power spectrum.
Compute the non-linear bias interpolation function.
Create an interpolation function for the non-linear bias.
Initialize the Dark Emulator with the given cosmological parameters.
Hubble parameter.
Array of wavenumbers.
Array of halo masses.
Compute the minimum halo mass for the set of cosmological parameters.
Spectral index.
Return the physical baryon density parameter.
Return the physical cold dark matter density parameter.
Baryon density parameter.
Cold dark matter density parameter.
Dark energy density parameter.
Dictionary of all parameters and their current values
Amplitude of matter fluctuations on 8 Mpc scales.
Dark energy equation of state parameter.
If redshift dependence is to be evaluated in Bnl
Array of redshifts.