3.9 sweepFrequency
- type: Setup command
- function: Sets up a sweep of the resonator frequency value of a selected HOM. The setup
takes effect only when an action command is executed.
&sweepHOMFrequency
long resonatorIndex = 0
double frequencyRange = 0.0
long points = 100
STRING filename = NULL
&end
- resonatorIndex — HOM resonator number to be swept in frequency. The numbering starts
at 0, and proceed in the order that the resonators were read in the HOM definition file or
files.
- frequencyRange — Sweep range in Hz. The range starts at the unperturbed HOM
resonator frequency minus frequencyRangeHz and ends at the unperturbed HOM resonator
frequency plus frequencyRangeHz. If frequencyRangeHz is set to 0 or not specified, then
frequencyRangeHz=f0 where f0 is the revolution frequency.
- points — Number of points in the sweep.
- filename — SDDS file in which the results are written. The columns are the swept HOM
frequency, the maximum growth rate, and the frequency shift of the fastest growing CBM.
Recommended naming conventions: <something>.CBMFreq