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:
Example
>>> import tidy3d.plugins.design as tdd >>> method = tdd.MethodGrid()
Attributes
filter_funcnameMethods
sample(parameters)Defines how the design parameters are sampled on the grid.