{
  "title": "CustomGridBoundaries",
  "public_path": "flex_rf.tidy3d.CustomGridBoundaries",
  "lookup_path": "tidy3d.CustomGridBoundaries",
  "slug": "flex_rf/tidy3d/CustomGridBoundaries",
  "public_url": "/rf/latest/autogenerated/flex_rf/tidy3d/customgridboundaries/",
  "object_kind": "class",
  "introduction": "Custom 1D grid supplied as a list of grid cell boundary coordinates.",
  "notes": "",
  "examples": "```python\ngrid_1d = CustomGridBoundaries(coords=[-0.2, 0.0, 0.2, 0.4, 0.5, 0.6, 0.7])\n```",
  "references": "",
  "signature": "class CustomGridBoundaries(GridSpec1d)",
  "source": {
    "path": "flex/public/tidy3d/tidy3d/components/grid/grid_spec.py",
    "url": "",
    "lineno": 499,
    "endlineno": 579
  },
  "bases": [
    "GridSpec1d"
  ],
  "parameter_rows": [
    {
      "name": "coords",
      "annotation": "Coords1D",
      "default": "",
      "description": "An array of grid boundary coordinates.",
      "origin": "declared"
    },
    {
      "name": "attrs",
      "annotation": "dict",
      "default": "factory: dict",
      "description": "Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields, `attrs` are mutable. For example, the following is allowed for setting an `attr` `obj.attrs['foo'] = bar`. Also note that Tidy3D will raise a `TypeError` if `attrs` contain objects that can not be serialized. One can check if `attrs` are serializable by calling `obj.model_dump_json()`.",
      "origin": "inherited"
    }
  ],
  "members": [
    {
      "name": "estimated_min_dl",
      "kind": "function",
      "signature": "estimated_min_dl(wavelength: float, structure_list: list[Structure], sim_size: tuple[float, 3])",
      "description": "Minimal grid size from grid specification."
    }
  ],
  "group": "flex_rf.tidy3d"
}
