-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
PyEmittance/pyemittance/optics.py
Line 6 in 3862eff
| # TODO: update fns from scipy for c_light #, m_e as m0 |
import numpy as np
from numpy import sin, cos, sinh, cosh, sqrt
import scipy.linalg
# TODO: update fns from scipy for c_light #, m_e as m0
from scipy.constants import c as c_light #, m_e as m0
# TODO: use this:
# mec2 = scipy.constants.value('electron mass energy equivalent in MeV')*1e6
import matplotlib.pyplot as plt