# Apodization Specification

Apodization Specification defines a smooth time window applied before computing frequency-domain monitor data. Apodization uses a tapering window to reduce abrupt truncation of a signal, which can help reduce artifacts in frequency-domain analysis.

This object corresponds to tidy3d.ApodizationSpec (opens new window).

Example:

apod_spec = ApodizationSpec(start=1, end=2, width=0.2)

Apodization function

# Time Window

start: Time at which the start apodization ends.

  • Type: float number
  • Unit: s, ms, us, ns (default unit), ps
  • Default: None

end: Time at which the end apodization begins.

  • Type: float number
  • Unit: s, ms, us, ns (default unit), ps
  • Default: None

width: Characteristic decay length of the apodization function.

  • Type: float number
  • Unit: s, ms, us, ns (default unit), ps
  • Default: None

The apodization function smoothly ramps up before start, remains near 1 between start and end, and smoothly ramps down after end. In Tidy3D, width is the characteristic width of the ramping transition of the scaling function from 0 to 1. A smaller width produces a sharper transition.

NOTE

If either start or end is specified, width must also be specified.