onepower.add.UpsampledSpectra.add_spectra#
- UpsampledSpectra.add_spectra(pk_1, pk_2, mode)[source]#
Add the power spectra of the two models.
TODO: Add the cross terms Not valid / implemented for matter-intrinsic, matter-matter
- Parameters:
pk_1 (array_like) – Power spectrum of the first model.
pk_2 (array_like) – Power spectrum of the second model.
mode (str) – Mode of the power spectrum.
- Returns:
Combined power spectrum.
- Return type:
ndarray