tidy3d.Sellmeier#
- class Sellmeier[source]#
Bases:
DispersiveMediumA dispersive medium described by the Sellmeier model.
- Parameters:
name (Optional[str] = None) – Optional unique name for medium.
frequency_range (Optional[tuple[float, float]] = None) – [units = (Hz, Hz)]. Optional range of validity for the medium.
allow_gain (bool = False) – Allow the medium to be active. Caution: simulations with a gain medium are unstable, and are likely to diverge.Simulations where
allow_gainis set toTruewill still be charged even if diverged. Monitor data up to the divergence point will still be returned and can be useful in some cases.nonlinear_spec (Optional[Union[
NonlinearSpec,NonlinearSusceptibility]] = None) – Nonlinear spec applied on top of the base medium properties.modulation_spec (Optional[
ModulationSpec] = None) – Modulation spec applied on top of the base medium properties.viz_spec (Optional[
VisualizationSpec] = None) – Plotting specification for visualizing medium.heat_spec (Optional[Union[
FluidSpec,SolidSpec,SolidMedium,FluidMedium]] = None) – DEPRECATED: UseMultiPhysicsMedium. Specification of the medium heat properties. They are used for solving the heat equation via theHeatSimulationinterface. Such simulations can beused for investigating the influence of heat propagation on the properties of optical systems. Once the temperature distribution in the system is found usingHeatSimulationobject,Simulation.perturbed_mediums_copy()can be used to convert mediums with perturbation models defined into spatially dependent custom mediums. Otherwise, theheat_specdoes not directly affect the running of an opticalSimulation.coeffs (tuple[tuple[float, PositiveFloat], ...]) – [units = (None, um^2)]. List of Sellmeier (\(B_i, C_i\)) coefficients.
Notes
The frequency-dependence of the refractive index is described by:
\[n(\lambda)^2 = 1 + \sum_i \frac{B_i \lambda^2}{\lambda^2 - C_i}\]For lossless, weakly dispersive materials, the best way to incorporate the dispersion without doing complicated fits and without slowing the simulation down significantly is to provide the value of the refractive index dispersion \(\frac{dn}{d\lambda}\) in
tidy3d.Sellmeier.from_dispersion(). The value is assumed to be at the central frequency or wavelength (whichever is provided), and a one-pole model for the material is generated.Example
>>> sellmeier_medium = Sellmeier(coeffs=[(1,2), (3,4)]) >>> eps = sellmeier_medium.eps_model(200e12)
See also
CustomSellmeierA spatially varying dispersive medium described by the Sellmeier model.
Notebooks
Lectures
Attributes
namefrequency_rangeallow_gainnonlinear_specmodulation_specviz_specheat_specMethods
eps_model(frequency)Complex-valued permittivity as a function of frequency.
from_dispersion(n, freq[, dn_dwvl])Convert
nand wavelength dispersiondn_dwvlvalues at frequencyfreqto a single-poleSellmeiermedium.- coeffs#
- classmethod from_dispersion(n, freq, dn_dwvl=0, **kwargs)[source]#
Convert
nand wavelength dispersiondn_dwvlvalues at frequencyfreqto a single-poleSellmeiermedium.- Parameters:
- Returns:
Single-pole Sellmeier medium with the prvoided refractive index and index dispersion valuesat at the prvoided frequency.
- Return type: