tidy3d.Simulation.viz_source

Simulation.viz_source(source, axs=None)

Plot both the time and frequency dependence of a source.

Parameters
  • source (Source) – Source object to plot.

  • axs (List[Matplotlib axis object], optional) – If None, a new figure is created.

Returns

Return type

Matplotlib axis object