tidy3d.Drude#

class tidy3d.Drude#

A dispersive medium described by the Drude model. The frequency-dependence of the complex-valued permittivity is described by:

Parameters
  • name (Optional[str] = None) – Optional unique name for medium.

  • frequency_range (Optional[Tuple[float, float]] = None) – [units = Hz]. Optional range of validity for the medium.

  • eps_inf (float = 1.0) – Relative permittivity at infinite frequency (\(\epsilon_\infty\)).

  • coeffs (List[Tuple[float, pydantic.types.PositiveFloat]] = None) – List of (\(f_i, \delta_i\)) values for model (Hz).

Note

\[\epsilon(f) = \epsilon_\infty - \sum_i \frac{ f_i^2}{f^2 + jf\delta_i}\]

Example

>>> drude_medium = Drude(eps_inf=2.0, coeffs=[(1,2), (3,4)])
>>> eps = drude_medium.eps_model(200e12)

Show JSON schema
{
   "title": "Drude",
   "description": "A dispersive medium described by the Drude model.\nThe frequency-dependence of the complex-valued permittivity is described by:\n\nParameters\n----------\nname : Optional[str] = None\n    Optional unique name for medium.\nfrequency_range : Optional[Tuple[float, float]] = None\n    [units = Hz].  Optional range of validity for the medium.\neps_inf : float = 1.0\n    Relative permittivity at infinite frequency (:math:`\\epsilon_\\infty`).\ncoeffs : List[Tuple[float, pydantic.types.PositiveFloat]] = None\n    List of (:math:`f_i, \\delta_i`) values for model (Hz).\n\nNote\n----\n.. math::\n\n    \\epsilon(f) = \\epsilon_\\infty - \\sum_i\n    \\frac{ f_i^2}{f^2 + jf\\delta_i}\n\nExample\n-------\n>>> drude_medium = Drude(eps_inf=2.0, coeffs=[(1,2), (3,4)])\n>>> eps = drude_medium.eps_model(200e12)",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "description": "Optional unique name for medium.",
         "type": "string"
      },
      "frequency_range": {
         "title": "Frequency Range",
         "description": "Optional range of validity for the medium.",
         "units": "Hz",
         "type": "array",
         "minItems": 2,
         "maxItems": 2,
         "items": [
            {
               "type": "number"
            },
            {
               "type": "number"
            }
         ]
      },
      "type": {
         "title": "Type",
         "default": "Drude",
         "enum": [
            "Drude"
         ],
         "type": "string"
      },
      "eps_inf": {
         "title": "Epsilon at Infinity",
         "description": "Relative permittivity at infinite frequency (:math:`\\epsilon_\\infty`).",
         "default": 1.0,
         "type": "number"
      },
      "coeffs": {
         "title": "Coefficients",
         "description": "List of (:math:`f_i, \\delta_i`) values for model (Hz).",
         "type": "array",
         "items": {
            "type": "array",
            "minItems": 2,
            "maxItems": 2,
            "items": [
               {
                  "type": "number"
               },
               {
                  "type": "number",
                  "exclusiveMinimum": 0
               }
            ]
         }
      }
   },
   "required": [
      "coeffs"
   ],
   "additionalProperties": false
}

Fields
  • coeffs (List[Tuple[float, pydantic.types.PositiveFloat]])

  • eps_inf (float)

attribute coeffs: List[Tuple[float, pydantic.types.PositiveFloat]] [Required]#

List of (\(f_i, \delta_i\)) values for model (Hz).

attribute eps_inf: float = 1.0#

Relative permittivity at infinite frequency (\(\epsilon_\infty\)).

eps_model(frequency: float) complex#

New eps_model function.

property pole_residue#

Representation of Medium as a pole-residue model.