rsfbpic/rswake/lbn_wake.py
def calc_power_beam_plasma(n_pe, rb_max):
    """
    Calculate the power transferred from the beam to the plasma bubble

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    Args:
        n_pe:   number density of the electron plasma
        rb_max: maximum radius of the plasma bubble
    Returns:
        p_beam_plasma: power transferred from beam to plasma bubble
    """
    # from Eq. (10) of LBN2017
    p_beam_plasma = scipy.constants.c*(0.5*math.pi*n_pe*scipy.constants.e*rsmath.const.MKS_factor*rb_max**2)**2
    return p_beam_plasma

    Calculate the power transferred from the beam to the plasma bubble

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    Args:
        n_pe:   number density of the electron plasma
        rb_max: maximum radius of the plasma bubble
    Returns:
        p_beam_plasma: power transferred from beam to plasma bubble
    
Calculate the power transferred from the beam to the plasma bubble
Valid in "strong bubble regime", where rb_max*k_pe >> 1.
Calculate the power transferred from the beam to the plasma bubble Valid in " strong bubble regime " where rb_max * k_pe >> 1 .
def calc_power_beam_plasma(n_pe, rb_max):
    p_beam_plasma = scipy.constants.c*(0.5*math.pi*n_pe*scipy.constants.e*rsmath.const.MKS_factor*rb_max**2)**2
    return p_beam_plasma
def calc_power_beam_plasma ( n_pe , rb_max ) : p_beam_plasma = scipy . constants . c * ( 0.5 * math . pi * n_pe * scipy . constants . e * rsmath . const . MKS_factor * rb_max ** 2 ) ** 2 return p_beam_plasma
Calculate the power transferred from the beam to the plasma bubble
Valid in "strong bubble regime", where rb_max*k_pe >> 1.
Calculate the power transferred from the beam to the plasma bubble Valid in " strong bubble regime " where rb_max * k_pe >> 1 .
"""
    Calculate the power transferred from the beam to the plasma bubble

    Valid in "strong bubble regime", where rb_max*k_pe >> 1.
    Args:
        n_pe:   number density of the electron plasma
        rb_max: maximum radius of the plasma bubble
    Returns:
        p_beam_plasma: power transferred from beam to plasma bubble
    """ # from Eq. (10) of LBN2017
power transferred from beam to plasma bubble
power transferred from beam to plasma bubble
p_beam_plasma
n_pe
number density of the electron plasma
number density of the electron plasma
rb_max
maximum radius of the plasma bubble
maximum radius of the plasma bubble