We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error: ImportError: cannot import name 'Flavor' from 'asteria.neutrino'
Locations: -Detector_Hits: Cell [1]: -Detector_Hits_File: Cell [1]: -Detector_Response: Cell [1]: -Inverse_Beta_Decay: Cell [1]: -Load_Simulation: Cell [1]: -Piegsa_Earth_Oscillations: Cell [1]: -Simplemixing_Class: Cell [1]: -Simulation_Handling: Cell [1]: -Supernova_Mixing: Cell [1]:
ImportError Traceback (most recent call last) Input In [2], in <cell line: 9>() 6 import matplotlib.pyplot as plt 8 from asteria import config, source, detector ----> 9 from asteria.neutrino import Flavor 11 mpl.rc('font', size=18)
ImportError: cannot import name 'Flavor' from 'asteria.neutrino' (/Users/emmatintinger/ASTERIA/python/asteria/neutrino.py)
Solution: Change “from asteria.neutrino import Flavor” to “from snewpy.neutrino import Flavor” in cell [1]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
ImportError: cannot import name 'Flavor' from 'asteria.neutrino'
Locations:
-Detector_Hits: Cell [1]:
-Detector_Hits_File: Cell [1]:
-Detector_Response: Cell [1]:
-Inverse_Beta_Decay: Cell [1]:
-Load_Simulation: Cell [1]:
-Piegsa_Earth_Oscillations: Cell [1]:
-Simplemixing_Class: Cell [1]:
-Simulation_Handling: Cell [1]:
-Supernova_Mixing: Cell [1]:
Error trace from Detector_Hits nb:
ImportError Traceback (most recent call last)
Input In [2], in <cell line: 9>()
6 import matplotlib.pyplot as plt
8 from asteria import config, source, detector
----> 9 from asteria.neutrino import Flavor
11 mpl.rc('font', size=18)
ImportError: cannot import name 'Flavor' from 'asteria.neutrino' (/Users/emmatintinger/ASTERIA/python/asteria/neutrino.py)
Solution:
Change “from asteria.neutrino import Flavor” to “from snewpy.neutrino import Flavor” in cell [1]
The text was updated successfully, but these errors were encountered: