lime/SPO/SPO_1D.py
def gauss_x(x, a, x0, k0):
    """
    a gaussian wave packet of width a, centered at x0, with momentum k0
    """
    return (a/np.sqrt(np.pi))**(-0.25)*\
        np.exp(-0.5 * a * (x - x0)**2 + 1j * (x-x0) * k0)

    a gaussian wave packet of width a, centered at x0, with momentum k0
    
a gaussian wave packet of width a, centered at x0, with momentum k0
a gaussian wave packet of width a centered at x0 with momentum k0
def gauss_x(x, a, x0, k0):
    return (a/np.sqrt(np.pi))**(-0.25)*\
        np.exp(-0.5 * a * (x - x0)**2 + 1j * (x-x0) * k0)
def gauss_x ( x , a , x0 , k0 ) : return ( a / np . sqrt ( np . pi ) ) ** ( - 0.25 ) * np . exp ( - 0.5 * a * ( x - x0 ) ** 2 + 1j * ( x - x0 ) * k0 )
a gaussian wave packet of width a, centered at x0, with momentum k0
a gaussian wave packet of width a centered at x0 with momentum k0
"""
    a gaussian wave packet of width a, centered at x0, with momentum k0
    """
x
a
x0
k0