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

output spectra - info and user-control #87

Closed
humnaawan opened this issue Nov 8, 2023 · 4 comments
Closed

output spectra - info and user-control #87

humnaawan opened this issue Nov 8, 2023 · 4 comments

Comments

@humnaawan
Copy link
Collaborator

Is there a place where one can find info re what's outputted exactly? Currently, I see the output dictionary having spectra for clTT, clEE, clBB, clTE, clPP, clPT, clPE. What is "P" here?

Also,

  • can one specify e.g. getting just a subset of combinations?
  • is there are a reason clEB is missing?
@samueldmcdermott
Copy link
Collaborator

"P" represents the gravitational potential which is often written with the greek letter Φ (transliterated Phi). You can certainly omit some if you don't care about them. The E-B cross-correlation is expected to be exactly zero in a parity-conserving universe, which is a common expectation (and, at the very least, parity is not badly broken, so this likely to be small)

@humnaawan
Copy link
Collaborator Author

@samueldmcdermott can you please say how I can drop some of the correlations from the outputs? I know I can drop things from the output dictionary but is there an option to not return specific spectra at all?

The E-B cross-correlation is expected to be exactly zero in a parity-conserving universe, which is a common expectation (and, at the very least, parity is not badly broken, so this likely to be small)

sure, but is there an option for me to get this correlation?

@samueldmcdermott
Copy link
Collaborator

@humnaawan -- the E-B cross-correlation is exactly zero in all cosmological perturbation theory codes that I know of. If there's a reason that you need a placeholder for it, I suppose you can use np.zeros_like() wrapping some other spectrum that you have.

As for not returning specific spectra -- that's not currently possible. If that's valuable (for space or memory reasons) I think it shouldn't be too hard to implement, but it might not save much time given my understanding of CAMB (one single call gives all of TT, EE, BB, TE, and another call gives PP, PT, PE, and I think the second one is fast given how CAMB calculates that). But if you think that functionality seems valuable, let me know what options you'd like (eg, specify all the ones you want? or three options like TEB, Phi, all?) and I can make it happen

@samueldmcdermott
Copy link
Collaborator

closed by #87 and #88

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

No branches or pull requests

2 participants