tidy3d.plugins.design.MethodGrid#
- class MethodGrid[source]#
Bases:
MethodSampleSelect parameters uniformly on a grid. Size of the grid is specified by the parameter type, either as the number of unique discrete values (
ParameterInt,ParameterAny) or with the num_points argument (ParameterFloat).- Parameters:
name (Optional[str] = None) – Optional name for the sweep method.
Example
>>> import tidy3d.plugins.design as tdd >>> method = tdd.MethodGrid()
Attributes
nameMethods
sample(parameters)Defines how the design parameters are sampled on the grid.