-
Notifications
You must be signed in to change notification settings - Fork 25
Move model classes from ccsn.py to base.py #404
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
base: main
Are you sure you want to change the base?
Conversation
Moved the SNOwGLoBES class and Analytic3Species class from ccsn.py into base.py.
Moved SNOwGLoBES and Analytic3Species model classes from ccsn.py into base.py. This is a better match to the model hierarchy.
Update source of model class
Update source of model class
|
First steps to get the Type Ia and PISN models at the same level as the CCSN |
|
The Integration Test errors are in the ipynb files which still import Analytic3Species from ccsn.py |
Add PISN and TypeIa repository
|
Moving the Type Ia and PISN models out of On the other hand, the There’s also the issue of those three models behaving differently from all our other models. (The Ia/PISN models because we only have the integrated fluence, without time information; the |
|
I added the pisn.py and pisn_loaders.py to the models folder with a Wright_2017 class, and published the PISN/Type Ia repo for the model data |
|
Yes they now inherit SupernovaModel so function like any other model class. We can now delete the SNOwGLoBES class. |
|
Okay, I understand; thanks!
There are some important differences, though; right? IIRC, these models only contained fluences, so we have no time-dependent flux information? And I think that will also limit (at least in principle), which flavour transformations we can apply to those models, since transformations can be time-dependent. Are there any other restrictions on flavour transformations? E.g., do all the |
|
All the differences between the Type Ia and PISN models with the CCSN models have now been removed. The raw data files for the PISN and Type Ia contain time snapshots and as you noticed, they also contained the unoscillated spectra. By using the NoOsc data it is possible for the user to apply any of the in_sn transformations - the user would not be 'double applying'. It is true that applying some of the flavor prescriptions may not make sense physically but the onus is on the user to know why of the that is. |
|
BTW, when I ran the new Type Ia Jupyter notebook I had trouble downloading the data from the repo. @JostMigenda, can you verify. |
Moved the SNOwGLoBES class and Analytic3Species class from ccsn.py into base.py.