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

theory-based DataSource mocks + power spectrum dependency #197

Closed
nickhand opened this issue Jun 18, 2016 · 2 comments
Closed

theory-based DataSource mocks + power spectrum dependency #197

nickhand opened this issue Jun 18, 2016 · 2 comments
Assignees

Comments

@nickhand
Copy link
Member

The code for the Gaussian, lognormal + Zel'dovich mocks themselves has been done for awhile -- the issue is that they all start from an input linear power spectrum. The user could pass this in to the DataSource, but the cleanest solution is to use our existing cosmology framework and generate it from that.

I think I can actually extract a basic version of my python wrapper of CLASS to do this; it would be a useful community tool either way. We could then include this external package like an optional dependency for certain DataSource classes, similar to halotools.

If I did this, I should probably make the CLASS wrapper interface well with the astropy cosmology class, since it could be more broadly used, i.e., something like an astropy-affiliated package.

Thoughts, @rainwoodman?

@nickhand nickhand self-assigned this Jun 18, 2016
@nickhand
Copy link
Member Author

Also, generation of direct Gaussian fields in Fourier space would be another use of GridDataSource supporting Fourier modes, i.e., #100

@nickhand
Copy link
Member Author

close this for now, since most of this is addressed by #209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant