WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.post_processing.band_diagrams.analytical_1d Namespace Reference

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 :
 

Function Documentation

◆ analytic_1d_arb()

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.

Parameters
wpNormalized average plasma frequency
nxArray containing values of the normalized number density from x=-a/2 to a/2
KxArray of normalized wave numbers at which to evaluate the system
NxNumber of coupling terms to include in x, system will be size 2N+1
ftermsNumber of terms used to approximate the density function

◆ analytic_1d_fsquare()

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.

Parameters
wpAverage plasma frequency
chiRatio of peak plasma density to average plasma density
KxArray of wave numbers in x
NxNumber of coupling terms to include in x
ftermsNumber of Fourier terms in square wave approximation
gxWave number of density perturbation in x
cSpeed of light

◆ analytic_1d_sine()

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.

Parameters
wpAverage plasma frequency
chiRatio of peak plasma density to average plasma density
KxArray of wave numbers in x
NxNumber of coupling terms to include in x
gxWave number of density perturbation in x
cSpeed of light

Variable Documentation

◆ except

warpy.post_processing.band_diagrams.analytical_1d.except :

◆ try

warpy.post_processing.band_diagrams.analytical_1d.try :