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

Generate multiple related fields #134

Closed
ntessore opened this issue Oct 18, 2023 · 3 comments
Closed

Generate multiple related fields #134

ntessore opened this issue Oct 18, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request science Science improvement or question
Milestone

Comments

@ntessore
Copy link
Collaborator

ntessore commented Oct 18, 2023

There is a common request for biased tracers of the matter field using the same alm with differently-scaled gls.

This could be implemented if generate_gaussian() accepted either

  • a sequence of gls, or
  • gls with a leading axis.

The former option is potentially easier for users to provide, since those would be generated simply by calling e.g. lognormal_gls() multiple times with different inputs.

CC: @hangqianjun

@ntessore ntessore added the enhancement New feature or request label Oct 18, 2023
@ntessore ntessore self-assigned this Oct 18, 2023
@ntessore ntessore added this to the v2023.10 milestone Oct 18, 2023
@ntessore ntessore added the science Science improvement or question label Oct 20, 2023
@arthurmloureiro
Copy link
Contributor

Sorry for jumping in here:

I think that changing to add the bias prior to generating the alms, aka by rescaling the cls, we lose the ability to generate multiple tracers with different biases and the same underlying matter density field. But maybe I don't quite understand what is being proposed.

@ntessore
Copy link
Collaborator Author

The proposal is to generate the matter field as normal, but add functions to easily imprint a new (e.g. biased) angular power spectrum on the same alms. This isn't really a good bias model, but can be useful in some exceptional cases. See the proposed example for the application.

@ntessore
Copy link
Collaborator Author

This needs further work, to be reviewed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request science Science improvement or question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants