Two-halo term ============= It is possible to use ``profiley`` to calculate the contribution from large-scale structure, usually known as the "two-halo term". Doing this requires calculation of the matter power spectrum, which is not implemented in ``profiley``, but given a power spectrum ``profiley`` provides convenience functions to calculate the surface density. There are several steps involved in this calculation; for a full working example see `this notebook `_, where we use the `Core Cosmology Library `_ to obtain the matter power spectrum.