WARPXM v1.10.0
|
Classes | |
class | Bands1D |
Base class for 1D photonic band objects. More... | |
Functions | |
def | analytic_1d_sine (wp, chi, Kx, Ky, Nx, gx=1., c=1., **kwargs) |
Solves analytical dispersion relation for a 1D sine density perturbation. | |
def | analytic_1d_fsquare (wp, chi, Kx, Nx, fterms, gx=1., c=1., **kwargs) |
Solves analytical dispersion relation for a 1D Fourier square density perp. | |
def | analytic_1d_arb (wp0, nn, Kx, Nx, fterms, **kwargs) |
Solves analytical dispersion relation for arbitrary density profile. | |
Variables | |
try : | |
except : | |
def warpy.post_processing.band_diagrams.analytical_1d.analytic_1d_arb | ( | wp0, | |
nn, | |||
Kx, | |||
Nx, | |||
fterms, | |||
** | kwargs | ||
) |
Solves analytical dispersion relation for arbitrary density profile.
Performs Fourier transform of density profile and uses Fourier coefficients to constructs matrix of coupled dispersion relations offset by integer multiples of gx and then solves for the eigenvalues of the system.
wp | Normalized average plasma frequency |
nx | Array containing values of the normalized number density from x=-a/2 to a/2 |
Kx | Array of normalized wave numbers at which to evaluate the system |
Nx | Number of coupling terms to include in x, system will be size 2N+1 |
fterms | Number of terms used to approximate the density function |
def warpy.post_processing.band_diagrams.analytical_1d.analytic_1d_fsquare | ( | wp, | |
chi, | |||
Kx, | |||
Nx, | |||
fterms, | |||
gx = 1. , |
|||
c = 1. , |
|||
** | kwargs | ||
) |
Solves analytical dispersion relation for a 1D Fourier square density perp.
Constructs matrix of coupled dispersion relations offset by integer multiples of gx and then solves for the eigenvalues of the system.
wp | Average plasma frequency |
chi | Ratio of peak plasma density to average plasma density |
Kx | Array of wave numbers in x |
Nx | Number of coupling terms to include in x |
fterms | Number of Fourier terms in square wave approximation |
gx | Wave number of density perturbation in x |
c | Speed of light |
def warpy.post_processing.band_diagrams.analytical_1d.analytic_1d_sine | ( | wp, | |
chi, | |||
Kx, | |||
Ky, | |||
Nx, | |||
gx = 1. , |
|||
c = 1. , |
|||
** | kwargs | ||
) |
Solves analytical dispersion relation for a 1D sine density perturbation.
Constructs matrix of coupled dispersion relations offset by integer multiples of gx and then solves for the eigenvalues of the system.
wp | Average plasma frequency |
chi | Ratio of peak plasma density to average plasma density |
Kx | Array of wave numbers in x |
Nx | Number of coupling terms to include in x |
gx | Wave number of density perturbation in x |
c | Speed of light |
warpy.post_processing.band_diagrams.analytical_1d.except : |
warpy.post_processing.band_diagrams.analytical_1d.try : |