rsfbpic/rswake/lbn_wake.py
def calc_Ez_on_axis(n_pe, rb, drb_dxi):
    """
    Calculate the longitudinal electric field in a plasma bubble.

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    The calculation is local; it depends on bubble radius and slope.
    The slope of rb is calculated wrt xi, where xi=ct-z
    Args:
        n_pe:    number density of the electron plasma
        rb:      the local bubble radius
        drb_dxi: longitudinal derivative of the bubble radius
    Returns:
        Ez: longitudinal electric field along the axis
    """
    # from Eq. (2) of LBN2017
    Ez = -2.*math.pi*n_pe*np.abs(scipy.constants.e*rsmath.const.MKS_factor)*rb*drb_dxi
    return Ez

    Calculate the longitudinal electric field in a plasma bubble.

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    The calculation is local; it depends on bubble radius and slope.
    The slope of rb is calculated wrt xi, where xi=ct-z
    Args:
        n_pe:    number density of the electron plasma
        rb:      the local bubble radius
        drb_dxi: longitudinal derivative of the bubble radius
    Returns:
        Ez: longitudinal electric field along the axis
    
Calculate the longitudinal electric field in a plasma bubble.
Valid in "strong bubble regime", where rb_max*k_pe >> 1.
The calculation is local; it depends on bubble radius and slope.
The slope of rb is calculated wrt xi, where xi=ct-z
Calculate the longitudinal electric field in a plasma bubble . Valid in " strong bubble regime " where rb_max * k_pe >> 1 . The calculation is local ; it depends on bubble radius and slope . The slope of rb is calculated wrt xi where xi = ct - z
def calc_Ez_on_axis(n_pe, rb, drb_dxi):
    Ez = -2.*math.pi*n_pe*np.abs(scipy.constants.e*rsmath.const.MKS_factor)*rb*drb_dxi
    return Ez
def calc_Ez_on_axis ( n_pe , rb , drb_dxi ) : Ez = - 2. * math . pi * n_pe * np . abs ( scipy . constants . e * rsmath . const . MKS_factor ) * rb * drb_dxi return Ez
Calculate the longitudinal electric field in a plasma bubble.
Calculate the longitudinal electric field in a plasma bubble .
"""
    Calculate the longitudinal electric field in a plasma bubble.

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    The calculation is local; it depends on bubble radius and slope.
    The slope of rb is calculated wrt xi, where xi=ct-z
    Args:
        n_pe:    number density of the electron plasma
        rb:      the local bubble radius
        drb_dxi: longitudinal derivative of the bubble radius
    Returns:
        Ez: longitudinal electric field along the axis
    """ # from Eq. (2) of LBN2017
longitudinal electric field along the axis
longitudinal electric field along the axis
Ez
n_pe
number density of the electron plasma
number density of the electron plasma
rb
the local bubble radius
the local bubble radius
drb_dxi
longitudinal derivative of the bubble radius
longitudinal derivative of the bubble radius