halomod.cross_correlations

Modules defining cross-correlated samples.

Has classes for both pure HOD cross-correlations (i.e. number of cross-pairs) and for HaloModel-derived quantities based on these cross-pairs.

To construct a CrossCorrelations one need to specify the halo models to be cross-correlated, and how they’re correlated.

Examples

Cross-correlating the same galaxy samples in different redshifts:

>>> from halomod import HaloModel
>>> from halomod.cross_correlations import CrossCorrelations, ConstantCorr
>>> cross = CrossCorrelations(cross_hod_model=ConstantCorr, halo_model_1_params=dict(z=1.0),
>>>                           halo_model_2_params=dict(z=0.0))
>>> pkcorr = cross.power_cross

pkcorr corresponds to the cross-power at cross.halo_model_1.k_hm.

Classes

ConstantCorr(hods, **model_params)

Correlation relation for constant cross-correlation pairs

CrossCorrelations(*args, **kwargs)

The Framework for cross-correlations.