Skip to content

Time Apodization in DFT field monitors #2914

Answered by stevengj
raksharuia asked this question in Q&A
Discussion options

You must be logged in to vote

The reason I wish to use apodization is to remove the initial segment of time series from the field data to exclude that contribution from the Fourier transform.

You can just run the simulation until the source is turned off, and then add the DFT monitor, and then run for some more time.

But if you have a cavity with a strong resonance, and you excite it at the resonant frequency, you don't need a DFT at all — just excite it with a narrow-band source, and then look at a snapshot of the field after the source has finished — everything except the resonant mode should have decayed away. See, for example, this tutorial: https://meep.readthedocs.io/en/latest/Python_Tutorials/Basics/#modes-of…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@raksharuia
Comment options

@stevengj
Comment options

Answer selected by raksharuia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants