############################################################################## # Flags: nomenu, noprompt, nomessage, # ############################################################################## # section -sparameter # ############################################################################## # ports = all # # -- (all | LIST ) # # modes = ( 1 ) -- (all | LIST ) # # timedata = no -- ( yes | no ) # # tsumpower= no -- ( yes | no ) # # tintpower= no -- ( yes | no ) # # usample = 5 -- undersample for t-plots # # freqdata = yes -- ( yes | no ) # # wantdf = auto -- ( auto | REAL ) # # windowed = yes -- ( yes | no ) # # edgeofwindow = 0.70 -- at what frac. start to apply window # # fsumpower= yes -- ( yes | no ) # # magnitude= yes -- ( yes | no ) # # slog = no -- ( yes | no ) # # fintpower= no -- ( yes | no ) # # phase = no -- ( yes | no ) # # smithplot= no -- ( yes | no ) # # markerat= undefined -- want a marker at .. in smith-chart # # groupvelocity= no -- ( yes | no ) # # fri = no -- ( yes | no ) # # excdata = yes -- show the data of the excitation # # upto = auto -- [s] ( auto | REAL ) # # flow = auto -- [1/s] ( auto | REAL ) # # fhigh = auto -- [1/s] ( auto | REAL ) # # ignoreexc = no -- ( yes | no ) # # details = no -- ( yes | no ) # ############################################################################## # plotopts = -geometry 690x560+10+10 # # showtext = yes -- (yes | no) # # onlyplotfiles= no -- (yes | no) # ############################################################################## # return, help, end, ls, clearmarkers, doit # ##############################################################################
ports
:
all
, or a list of names of ports.
ports= all
, the time dependent data of all ports found in the
data-base are processed.
ports
is a list of names, only the time dependent data of the ports
whose names are found in the list are processed.
modes
:
all
, or a list of mode-numbers.
modes= all
, the time dependent data of all modes of the selected
ports found in the data-base are processed.
modes
is a list of mode-numbers, only the time dependent data of
the modes with numbers in the list are processed.
timedata
:
timedata= yes
, the time dependent amplitudes of the selected
modes are plotted.
tsumpower
:
tintpower
:
usample= NN
:
freqdata
:
freqdata= no
, no scattering parameters are plotted.
wantdf= DF
:
wantdf=auto
, the computed scattering parameters have a
frequency resolution of just df = 1 / simulated time.
wantdf=DF
, the time data are assumed to be zero outside
of the FDTD-simulated time window. These zero-padded time signals within
a time window of DT = 1 / DF are FFTed, giving an apparent frequency
resolution
of DF.
windowed
:
edgeofwindow= FRAC
:
fsumpower
:
magnitude
:
magnitude= yes
, the absolute value of the scattering parameters
are plotted.
slog
:
slog= yes
, the magnitude of the scattering parameters are
initially plotted in a logarithmic plot.
fintpower
:
phase
:
phase= yes
, the phase of the scattering parameters are plotted.
smithplot
:
smithplot= yes
, the scattering parameters are plotted in a
smith-plot.
markerat= Fi
:
groupvelocity
:
groupvelocity= yes
, the groupvelocity is computed from the
phase. The result only makes sense for transmissions.
fri
:
fri= yes
, the scattering parameters are written in fri-format
to files.
excdata
:
upto
:
auto
or a time-value.
upto= auto
, the time data upto the last found simulated time
are considered for the fourier-transforms.
upto= TMAX
, only the time-data upto the time-value TMAX
are considered for the fourier-transforms. This is useful,
for the case that a late time instability of the time
domain computation has occured, and you want to know the scattering
parameters of a shorter simulation.
THIS SHOULD NOT HAPPEN.
IF YOU ENCOUNTER A LATE TIME INSTABILITY, PLEASE SEND THE INPUTFILE
WHERE THIS INSTABILITY HAS OCCURED TO "bruns@gdfidl.de".
wantdf= DF
.
flow
:
flow= auto
, the lower boundary of the frequency range of the
plots is derived from the centerfrequency and the bandwidth of the
excitation as they were specified in the input for
gd1.
If flow= FMIN
, the lower boundary of the frequency range is
FMIN
.
fhigh
:
fhigh= auto
, the upper boundary of the frequency range of the
plots is derived from the centerfrequency and the bandwidth of the
excitation as they were specified in the input for
gd1.
If fhigh= FMAX
, the lower boundary of the frequency range is
FMAX
.
ignoreexc
:
ignoreexc= yes
, the spectrum of the excited mode is ignored.
Instead a flat spectrum is assumed.
This is useful e.g. to compute the coupling from an relativistic charge
to the port-modes.
details
:
yes
, a lot of intermediate results are plotted.
doit
:
clearmarkers
:
clearmarkers
, the list of markers which were requested via
markerat
is cleared.
Input, Output
, we say:
-sparamater modes= ( 1, 2 ) ports= ( Input, Output ) doit
gd1 < /usr/local/gd1/examples-from-the-manual/arndt.MTT90.p1854.fig5.gdfIn the next step, we start gd1.pp to compute the scattering parameters from the time dependent amplitudes, that were computed by gd1. The input we give to gd1.pp is:
-gen, inf @last -3da, sy e_1, scal 4.5, arr 5000, doit -spa, window yes, doit window no, doitThe resulting plots are shown in the figures 2.2 to 2.12.