fourier_transform
function of GaussianSource
should apply to discrete rather than analytic current amplitude
#1956
Labels
As discussed in #1931, the
fourier_transform
member function of theGaussianSource
class computes the Fourier transform of the analytic current amplitude G(t) rather than the discrete version as implemented in:meep/src/meep.hpp
Lines 970 to 975 in 35b10e5
meep/src/sources.cpp
Lines 97 to 116 in 35b10e5
As it is currently set up,
fourier_transform
does not seem to have much practical use. #1931 discussed the possibility of using thefourier_transform
feature as a replacement for the normalization run when computing the incident fields for scattering calculations. This can be useful for a number of applications including Tutorial/Diffraction Spectrum of a Binary Grating which involves an incident planewave source in a homogeneous medium.(This is somewhat related to a similar feature request for the
GaussianBeamSource
in #1444.)The text was updated successfully, but these errors were encountered: