legume.PhotCryst.add_layer
- PhotCryst.add_layer(d, eps_b=1, layer_type='shapes')
Add a layer to the photonic crystal, on top of all currently existing layers.
- Parameters:
d (float) – Layer thickness.
eps_b (float, optional) – Layer background permittivity.
layer_type ({'shapes'}, optional) – Currently only the ShapesLayer subclass is implemented.