Skip to content

Negative frequencies in spectra calculation - problem with materials or sources? #2263

Answered by stevengj
Srinivas-Ganti asked this question in Q&A
Discussion options

You must be logged in to vote

Every real signal is a superposition of positive and negative frequencies, so this is correct. You really need to understand this basic fact of Fourier theory if you want to look at spectra.

This looks a bit odd to me:

fcen = 1/50    # lam = 50 um
df = 0.05 

Here, your fcen is 0.02, but your bandwidth is 0.05, so your bandwidth extends over a pretty wide range (from -0.005 to +0.045). Is that really what you want or are you confused about units here?

(By default, Meep uses purely real fields, just as in actual physical systems. However, you can force it to use complex-valued fields by setting force_complex_fields=True in the Simulation constructor. In this case, you can get signals with …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Srinivas-Ganti
Comment options

Answer selected by Srinivas-Ganti
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