|
| axes |
|
float | wn = 1.2 |
|
float | wa = 2.0 - wn |
|
float | h = 0.10 |
|
bool | symmetric = True |
|
bool | periodic = True |
|
int | size = 16 |
|
int | refine = 8 |
|
int | smooth = 0 |
|
str | ft = 'analytic' |
|
int | dct = 2 |
|
| shelf = geometry.Shelf2D() |
|
| stack = geometry.Stack2D(left=0) |
|
| core = geometry.Block2D(wn, h, Glass()) |
|
| air = geometry.Block2D(wa, h, material.air) |
|
| p = stack.append(shelf) |
|
| main = geometry.Cartesian2D(stack, left='mirror', right='periodic') |
|
| opt = optical.Fourier2D("opt") |
|
| geometry |
|
| wavelength |
|
| dist |
|
| order |
|
| factor |
|
float | right = 3.5 |
|
float | left = -3.5 |
|
| symmetry |
|
| XX = linspace(left, right, 24000) |
|
| msh = mesh.Rectangular2D(XX, [0.5*h]) |
|
| i |
|
| color |
|
list | eps = [main.get_material(x, 0.5*h).nr(opt.wavelength.real).real**2 for x in XX] |
|
| label |
|