The GaussianBeamSource is only a gaussian beam at a single frequency. To make an accurate spread-spectrum gaussian beam out of this, you'd have to do some kind of superposition, e.g. solve a fitting problem to find a superposition of narrow-band gaussian pulses whose sum is your desired time-dependent function.
> On Dec 20, 2020, at 6:58 PM, Gui Max <cnmax....@gmail.com> wrote: > > Hello, > > I am trying to use a custom source alone with the GaussianBeamSource. The > custom source is a laser pulse (looks like an up-chirped pulse). > Initially, I try to use this custom source without specifying the 'fcen'. > However, the field will diverge. > This issue was fixed by assigning a 'fcen' argument. > Since the chirped pulse changes the frequency over time, what should be the > correct 'fcen'? > Also, the 3D shape does not look like a beam when rotated(please see the > following picture). Did I do something wrong? Any help would be appreciated. > > <g.JPG> > _______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss