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

Enhanced FFTLog options in HaloProfile #1061

Draft
wants to merge 5 commits into
base: codata_v3
Choose a base branch
from
Draft

Conversation

nikfilippas
Copy link
Contributor

@nikfilippas nikfilippas commented Apr 7, 2023

One thing that is currently implemented in an odd way is that if users want to pass their own values to FFTLog when they create a HaloProfile, they have to instantiate it first, and then change the values via update_precision_fftlog. This is awkward - we used to do that for the Cosmology object too, but we have long deprecated that.

This PR enables passing the FFTLog parameters directly into the halo profile constructors.
The parameters can be passed as keyword arguments, and with calls to super that we are doing either way, they are eventually handled by HaloProfile base.

@damonge
Copy link
Collaborator

damonge commented Apr 16, 2023

This is not to be reviewed until all existing functionality has been ported to v3. There is new science implementations that take priority.

@nikfilippas nikfilippas changed the base branch from eq_v3 to halos_v3 April 17, 2023 11:47
@nikfilippas nikfilippas marked this pull request as draft April 17, 2023 16:34
Base automatically changed from halos_v3 to v3_wip April 17, 2023 18:09
@nikfilippas nikfilippas changed the base branch from v3_wip to codata_v3 April 21, 2023 19:22
@nikfilippas nikfilippas deleted the fftlog_v3 branch May 16, 2023 15:05
@nikfilippas nikfilippas restored the fftlog_v3 branch May 17, 2023 19:41
@nikfilippas nikfilippas reopened this May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants