halomod.bias.ScaleDepBias

class halomod.bias.ScaleDepBias(xi_dm: ndarray, **model_parameters)[source]

Bases: Component

Base class for scale-dependent bias models.

Parameters:

xi_dm (np.ndarray) – The dark matter correlation function defined at some real-space scales, r.

bias_scale() ndarray[source]

Return the scale dependent bias as a function of r.

The scale-dependent bias is a function of the dark matter correlation function, and the length of the returned array should be the same size as the instance xi_dm.

classmethod get_models() Dict[str, Type]

Get a dictionary of all implemented models for this component.