tidy3d.FieldProjectionSurface#
- class FieldProjectionSurface[source]#
Bases:
Tidy3dBaseModelData structure to store surface monitors where near fields are recorded for field projections.
- Parameters:
attrs (dict = {}) β 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,
attrsare mutable. For example, the following is allowed for setting anattrobj.attrs['foo'] = bar. Also note that Tidy3D` will raise aTypeErrorifattrscontain objects that can not be serialized. One can check ifattrsare serializable by callingobj.json().monitor (FieldMonitor) β
FieldMonitoron which near fields will be sampled and integrated.normal_dir (Literal['+', '-']) β
Directionof the surface monitorβs normal vector w.r.t. the positive x, y or z unit vectors. Must be one of β+β or β-β.derivation (.. TODO add example and)
links. (and more relevant)
See also
Attributes
Methods
is_plane(val)Ensures that the monitor is a plane, i.e., its
sizeattribute has exactly 1 zeroInherited Common Usage
- monitor#
- normal_dir#
- property axis#
Returns the
Axisnormal to this surface.
- classmethod is_plane(val)[source]#
Ensures that the monitor is a plane, i.e., its
sizeattribute has exactly 1 zero
- __hash__()#
Hash method.