Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"get cls" helper function #112

Closed
arthurmloureiro opened this issue Jul 10, 2023 · 0 comments · Fixed by #120
Closed

"get cls" helper function #112

arthurmloureiro opened this issue Jul 10, 2023 · 0 comments · Fixed by #120
Labels
enhancement New feature or request
Milestone

Comments

@arthurmloureiro
Copy link
Contributor

It would be useful to have a helper function to extract cls from functions such as glass.ext.camb.matter_cls based on a combination of bins.

These functions don't make it explicit what the format or order of cls is and it could be important to run accuracy diagnostics on the sampled matter density fields.

cc: @ntessore

@ntessore ntessore added enhancement New feature or request ⚡ glass.fields labels Jul 19, 2023
@ntessore ntessore added this to the v2023.7 milestone Jul 19, 2023
ntessore added a commit that referenced this issue Jul 31, 2023
Add a function `getcl()` that takes a list of angular power spectra in
GLASS order and returns the entry corresponding to a pair of indices `i`
and `j`.

Closes: #112
Added: Function `getcl()` to return angular power spectra by index from
  a list using GLASS ordering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants