You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the same. This can be refactored in quite a few files. I prefer electron_mass_eV as a name and the way it is defined.
rest_energy=torch.tensor(
constants.electron_mass*constants.speed_of_light**2/constants.elementary_charge# electron mass
)
electron_mass_eV=torch.tensor(
physical_constants["electron mass energy equivalent in MeV"][0] *1e6
)
The text was updated successfully, but these errors were encountered:
jank324
changed the title
Refactoring of electron mass eV
Refactoring of electron_mass_eVJun 18, 2024
These are the same. This can be refactored in quite a few files. I prefer
electron_mass_eV
as a name and the way it is defined.The text was updated successfully, but these errors were encountered: