tidy3d.FieldGrid#
- class FieldGrid[source]#
Bases:
Tidy3dBaseModel
Holds the grid data for a single field.
- Parameters:
Example
>>> x = np.linspace(-1, 1, 10) >>> y = np.linspace(-1, 1, 11) >>> z = np.linspace(-1, 1, 12) >>> coords = Coords(x=x, y=y, z=z) >>> field_grid = FieldGrid(x=coords, y=coords, z=coords)
Attributes
Methods
- x#
- y#
- z#
- __hash__()#
Hash method.