# Path: blond/utils/bmath.py
# def use_mpi():
# def mpiMode():
# def use_fftw():
# def use_precision(_precision='double'):
# def update_active_dict(new_dict):


from builtins import range, object
from scipy.constants import e
from ..utils import bmath as bm
import numpy as np
import ctypes

    Parameters
    ----------
    Beam : object
        Beam object.
    resonator : float list
        List of the resonator parameters: 
        [shunt impedance [:math:`\Omega`], angular resonant frequency [rad/s], 
        quality factor [1]].
    n_macroparticles : int
        Number of macro-particles [1].
    n_particles : float
        Beam intensity [1].
    t_rev : float
        Revolution period [s]

    Attributes
    ----------
    beam : object
        Beam object.
    R_S : float
        shunt impedance [:math:`\Omega`]
    omega_R : float
        angular resonant frequency [rad/s]
    Q : float
        quality factor [1]
    n_macroparticles : int
        Number of macro-particles [1].
    n_particles : float
        Beam intensity [1].
    alpha : float

# Path: blond/utils/bmath.py
# def use_mpi():
# def mpiMode():
# def use_fftw():
# def use_precision(_precision='double'):
# def update_active_dict(new_dict):


# Path: blond/impedances/music.py
from builtins import range, object
from scipy.constants import e
from ..utils import bmath as bm
import numpy as np
import ctypes

    Parameters
    ----------
    Beam : object
        Beam object.
    resonator : float list
        List of the resonator parameters: 
        [shunt impedance [:math:`\Omega`], angular resonant frequency [rad/s], 
        quality factor [1]].
    n_macroparticles : int
        Number of macro-particles [1].
    n_particles : float
        Beam intensity [1].
    t_rev : float
        Revolution period [s]

    Attributes
    ----------
    beam : object
        Beam object.
    R_S : float
        shunt impedance [:math:`\Omega`]
    omega_R : float
        angular resonant frequency [rad/s]
    Q : float
        quality factor [1]
    n_macroparticles : int
        Number of macro-particles [1].
    n_particles : float
        Beam intensity [1].
    alpha : float

        Definition dependent on previously defined attributes.
