tidy3d.Simulation.spectrum

Simulation.spectrum(source, freqs)

Returns the spectrum of a Source.

Parameters
  • source (Source) – A source in the simulation.

  • freqs (array_like) – (Hz) Array of frequencies to evaluate the spectrum over.