glass-dev / glass

Generator for Large Scale Structure
https://glass.readthedocs.io
MIT License
33 stars 8 forks source link

Expected angular power spectra from discretisation #130

Closed ntessore closed 9 months ago

ntessore commented 1 year ago

It would be useful to have functions in the library that take an array of galaxy numbers per shell (as e.g. produced by partition()), potentially a list of biases, and return the expected angular power spectra for angular clustering (from redshifts()) and lensing (from MultiPlaneConvergence).

Note that multi_plane_matrix() already implements the way to get the lensing contributions from each shell. This function would be a small extension to that, incorporating the (diagonal) matrix of biased angular clustering, and applying both directly to the input Cls.