tidy3d.components.boundary.AbsorberSpec#

class tidy3d.components.boundary.AbsorberSpec#

Specifies the generic absorber properties along a single dimension.

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

  • num_layers (NonNegativeInt) – Number of layers of standard PML.

  • parameters (AbsorberParams) – Parameters to fine tune the absorber profile and properties.

Show JSON schema
{
   "title": "AbsorberSpec",
   "description": "Specifies the generic absorber properties along a single dimension.\n\nParameters\n----------\nname : Optional[str] = None\n    Optional unique name for boundary.\nnum_layers : NonNegativeInt\n    Number of layers of standard PML.\nparameters : AbsorberParams\n    Parameters to fine tune the absorber profile and properties.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "description": "Optional unique name for boundary.",
         "type": "string"
      },
      "type": {
         "title": "Type",
         "default": "AbsorberSpec",
         "enum": [
            "AbsorberSpec"
         ],
         "type": "string"
      },
      "num_layers": {
         "title": "Number of Layers",
         "description": "Number of layers of standard PML.",
         "minimum": 0,
         "type": "integer"
      },
      "parameters": {
         "title": "Absorber Parameters",
         "description": "Parameters to fine tune the absorber profile and properties.",
         "allOf": [
            {
               "$ref": "#/definitions/AbsorberParams"
            }
         ]
      }
   },
   "required": [
      "num_layers",
      "parameters"
   ],
   "additionalProperties": false,
   "definitions": {
      "AbsorberParams": {
         "title": "AbsorberParams",
         "description": "Specifies parameters common to Absorbers and PMLs.\n\nParameters\n----------\nsigma_order : NonNegativeInt = 3\n    Order of the polynomial describing the absorber profile (~dist^sigma_order).\nsigma_min : NonNegativeFloat = 0.0\n    [units = 2*EPSILON_0/dt].  Minimum value of the absorber conductivity.\nsigma_max : NonNegativeFloat = 1.5\n    [units = 2*EPSILON_0/dt].  Maximum value of the absorber conductivity.\n\nExample\n-------\n>>> params = AbsorberParams(sigma_order=3, sigma_min=0.0, sigma_max=1.5)",
         "type": "object",
         "properties": {
            "sigma_order": {
               "title": "Sigma Order",
               "description": "Order of the polynomial describing the absorber profile (~dist^sigma_order).",
               "default": 3,
               "minimum": 0,
               "type": "integer"
            },
            "sigma_min": {
               "title": "Sigma Minimum",
               "description": "Minimum value of the absorber conductivity.",
               "default": 0.0,
               "units": "2*EPSILON_0/dt",
               "minimum": 0,
               "type": "number"
            },
            "sigma_max": {
               "title": "Sigma Maximum",
               "description": "Maximum value of the absorber conductivity.",
               "default": 1.5,
               "units": "2*EPSILON_0/dt",
               "minimum": 0,
               "type": "number"
            },
            "type": {
               "title": "Type",
               "default": "AbsorberParams",
               "enum": [
                  "AbsorberParams"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      }
   }
}

attribute num_layers: pydantic.types.NonNegativeInt [Required]#

Number of layers of standard PML.

Constraints
  • minimum = 0

attribute parameters: tidy3d.components.boundary.AbsorberParams [Required]#

Parameters to fine tune the absorber profile and properties.