Closed jakob2508 closed 1 year ago
Hi @jakob2508, thanks for reporting this and providing good sample code!
When running this sample code in a new notebook, however, I’m unable to reproduce the issue. I get the following figure instead, where all three directions have clearly distinct luminosities:
Could you try to delete the Tamborra_2014
directory from the snewpy cache and rerun the code? That will redownload the data files, to exclude any issues related to local caches. You can find the snewpy cache directory by running
from snewpy import model_path
print(model_path)
# should return something like ~/.astropy/cache/snewpy/models
Hi @JostMigenda, thank you very much. This worked perfectly!
Glad to hear that. Have a good weekend and let us know if you have any other feedback or issues in the future!
In SNEWPY version 1.4b1 the luminosity of the Tamborra 2014, 27 M_solar model in direction 1 and 2 for all flavors is the same.
I modified the example notebook and plotted all flavours individually and show that direction 1 and 2 are overlapping.
Here is the minimal code:
This is the plot which shows that direction 1 (full blue line) and direction 2 (dashed orange line) overlay.