Performs a frequency sweep using the current settings within the frequency analysis tab. Produces a D-CARD called "frequencysweep" that contains dispersion, effective index, and other data for as a function of frequency.
Syntax |
Description |
---|---|
frequencysweep; |
Perform a frequency sweep with the current settings. This function does not return any data. |
Example
To perform a frequency sweep on the first mode and plot the dispersion:
switchtolayout;
findmodes;
selectmode(1);
setanalysis("track selected mode",1);
setanalysis("detailed dispersion calculation",1);
frequencysweep;
D=getdata("frequencysweep","D");
f=getdata("frequencysweep","f_D");
plot(c/f*1e6,D*1e6,"Wavelength (um)", "Dispersion (ps/nm/km)");
See Also
List of commands , setanalysis , mesh , findmodes , selectmode