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

Normalization of the power spectrum #145

Open
abensonca opened this issue Apr 12, 2021 · 0 comments
Open

Normalization of the power spectrum #145

abensonca opened this issue Apr 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@abensonca
Copy link
Collaborator

Normalization of the power spectrum is currently handled in a non-optimal way. We specify a sigma_8, the cosmologicalMassVariance class is then responsible for normalizing to match that, and provides a utility method that gives the resulting factor by which the power spectrum should be multiplied to get the correct normalization.

We also have an option to match the power at some reference wavenumber in another power spectrum instead.

It would be better to have a dedicated powerSpectrumNormalizer class which provides implementations corresponding to each of these methods (and, potentially, others). This would need to be called by the powerSpectrumPrimordialTransferred class to normalize itself (so would need to live in the same module I think).

@abensonca abensonca added the enhancement New feature or request label Apr 12, 2021
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

No branches or pull requests

1 participant