glass-dev / glass

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

ENH(shells): evaluate a linear combination of window functions #148

Closed ntessore closed 7 months ago

ntessore commented 7 months ago

Adds a function combine(z, weights, shells) that computes the linear combination of the window functions in shells using coefficients from weights evaluated in the redshifts z. This is hence the inverse operation to partition(), which returns weights.

Closes: #147 Added: A new function combine() that evaluates the linear combination of radial window functions with given weights.