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: AttributeError: nu_e_bar
Location: Inverse_Beta_Decay: cell [3]
AttributeError Traceback (most recent call last) Input In [3], in <cell line: 8>() 6 enu = np.linspace(0., 200., 101) * u.MeV 8 for ibd, style, lab in zip([InvBetaPar(), InvBetaTab()], 9 ['-', '.'], 10 ['Parametric (Eq. 25)', 'Table 1']): ---> 11 xs = ibd.cross_section(Flavor.nu_e_bar, enu) 12 lep = ibd.mean_lepton_energy(Flavor.nu_e_bar, enu) 13 axes[0][0].plot(enu, xs, style, label=lab)
File ~/opt/anaconda3/lib/python3.9/enum.py:429, in EnumMeta.getattr(cls, name) 427 return cls.member_map[name] 428 except KeyError: --> 429 raise AttributeError(name) from None
AttributeError: nu_e_bar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
AttributeError: nu_e_bar
Location:
Inverse_Beta_Decay: cell [3]
Error trace:
AttributeError Traceback (most recent call last)
Input In [3], in <cell line: 8>()
6 enu = np.linspace(0., 200., 101) * u.MeV
8 for ibd, style, lab in zip([InvBetaPar(), InvBetaTab()],
9 ['-', '.'],
10 ['Parametric (Eq. 25)', 'Table 1']):
---> 11 xs = ibd.cross_section(Flavor.nu_e_bar, enu)
12 lep = ibd.mean_lepton_energy(Flavor.nu_e_bar, enu)
13 axes[0][0].plot(enu, xs, style, label=lab)
File ~/opt/anaconda3/lib/python3.9/enum.py:429, in EnumMeta.getattr(cls, name)
427 return cls.member_map[name]
428 except KeyError:
--> 429 raise AttributeError(name) from None
AttributeError: nu_e_bar
The text was updated successfully, but these errors were encountered: