halomod.bias.Tinker10.bias¶
- Tinker10.bias()[source]¶
Calculate the first-order, linear, deterministic halo bias.
- Returns
b – The bias as a function of mass, as an array of values corresponding to the instance attributes m and/or nu.
- Return type
array-like
Examples
>>> import matplotlib.pyplot as plt >>> import numpy as np >>> from halomod.bias import Mo96 >>> peak_height = np.linspace(0.1, 2, 100) >>> bias = Mo96(nu=peak_height) >>> plt.plot(peak_height, bias.bias())