tidy3d.EMEFreqSweep#

class EMEFreqSweep[source]#

Bases: EMESweepSpec

Deprecated spec for sweeping frequency in the EME propagation step.

Parameters:
  • freq_scale_factors (ArrayLike[dtype=float, ndim=1]) – Deprecated approximate alternative to listing frequencies directly in EMESimulation.freqs. Scale factors are applied to every simulation frequency, and the new modes are then computed approximately using the exact modes as a basis. If there are multiple EMESimulation.freqs, the exact modes are computed at each of those frequencies and then scaled independently.

  • and (Prefer specifying the target frequencies directly in EMESimulation.freqs)

  • EMEModeSpec.interp_spec. (controlling the performance/accuracy tradeoff with)

  • mode (EMEFreqSweep is kept for backward compatibility and uses a perturbative)

  • modes. (solver relative to the simulation EME)

Example

>>> sweep_spec = EMEFreqSweep(freq_scale_factors=[0.9, 0.95, 1.0, 1.05, 1.1])

Attributes

num_sweep

Number of sweep indices.

sweep_cells

Whether the sweep changes the propagation within a cell.

sweep_interfaces

Whether the sweep changes the cell interface scattering matrices.

sweep_modes

Whether the sweep changes the modes.

freq_scale_factors

freq_scale_factors#
property num_sweep#

Number of sweep indices.

property sweep_modes#

Whether the sweep changes the modes.

property sweep_interfaces#

Whether the sweep changes the cell interface scattering matrices.

property sweep_cells#

Whether the sweep changes the propagation within a cell.