tidy3d.components.monitor.AbstractGaussianOverlapMonitor#
- class AbstractGaussianOverlapMonitor[source]#
Bases:
AbstractOverlapMonitorMonitorthat records amplitudes from decomposition onto a Gaussian-like beam.- Parameters:
center (Optional[tuple[Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box]]] = None) – [units = um]. Center of object in x, y, and z.
size (tuple[Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box]]) – [units = um]. Size in x, y, and z directions.
name (str) – Unique name for monitor.
interval_space (tuple[Literal[1], Literal[1], Literal[1]] = (1, 1, 1)) – Number of grid step intervals between monitor recordings. If equal to 1, there will be no downsampling. If greater than 1, the step will be applied, but the first and last point of the monitor grid are always included. Not all monitors support values different from 1.
colocate (bool = True) – Toggle whether fields should be colocated to grid cell boundaries (i.e. primal grid nodes).
use_colocated_integration (bool = True) – Only takes effect when
colocate=False. IfTrue, dot products and overlap integrals still use fields interpolated to grid cell boundaries (colocated), even though the field data is stored at native Yee grid positions. Experimental feature that can give improved accuracy by avoiding interpolation of fields to Yee cell positions for integration.freqs (ArrayLike[dtype=float, ndim=1]) – [units = Hz]. Array or list of frequencies stored by the field monitor.
apodization (
ApodizationSpec= ApodizationSpec()) – Sets parameters of (optional) apodization. Apodization applies a windowing function to the Fourier transform of the time-domain fields into frequency-domain ones, and can be used to truncate the beginning and/or end of the time signal, for example to eliminate the source pulse when studying the eigenmodes of a system. Note: apodization affects the normalization of the frequency-domain fields.store_fields_direction (Optional[Literal['+', '-']] = None) – Propagation direction for the field profiles stored from overlap calculation.
conjugated_dot_product (bool = True) – Use conjugated or non-conjugated dot product for overlap/decomposition.
angle_theta (float = 0.0) – [units = rad]. Polar angle of propagation direction.
angle_phi (float = 0.0) – [units = rad]. Azimuth angle of propagation direction.
pol_angle (float = 0) – [units = rad]. Specifies the angle between the electric field polarization of the source and the plane defined by the injection axis and the propagation axis (rad).
pol_angle=0(default) specifies P polarization, whilepol_angle=np.pi/2specifies S polarization. At normal incidence when S and P are undefined,pol_angle=0defines: -Eypolarization for propagation alongx.-Expolarization for propagation alongy.-Expolarization for propagation alongz.and (Common fields and behavior shared by GaussianOverlapMonitor)
AstigmaticGaussianOverlapMonitor.
Attributes
store_fields_directioncolocateuse_colocated_integrationconjugated_dot_productfreqsapodizationinterval_spacenamesizecenterMethods
storage_size(num_cells, tmesh)Size of monitor storage given the number of points after discretization.
- angle_theta#
- angle_phi#
- pol_angle#