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

Create a method to compose flavor transformations #183

Open
sybenzvi opened this issue Feb 4, 2022 · 0 comments
Open

Create a method to compose flavor transformations #183

sybenzvi opened this issue Feb 4, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@sybenzvi
Copy link
Contributor

sybenzvi commented Feb 4, 2022

Do we want snewpy to be capable of stacking a set of flavor transformations? For example, given a model we apply some resonant effect in the star, followed by vacuum oscillations, followed by MSW Earth-crossing oscillations.

Currently the interface to implement transformations is get_transformed_spectra(self, t, E, flavor_xform), so we could take the existing flavor transformation classes and setup a way to compose several different processes into one object that gets passed to get_transformed_spectra.

@sybenzvi sybenzvi added the enhancement New feature or request label Feb 4, 2022
@JostMigenda JostMigenda linked a pull request Aug 5, 2022 that will close this issue
@JostMigenda JostMigenda added this to the v2.0 milestone Apr 22, 2024
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

Successfully merging a pull request may close this issue.

2 participants