Next: Example: transferF program
Up: GRASP Routines: Reading/using FRAME
Previous: Example: power_spectrumF program
  Contents
0
This example uses the function GRnormalize() and avg_spec() to produce an animated display, showing the properly
normalized power spectrum of the interferometer, with a 30-second
characteristic time moving average. After compilation, to run the
program type:
setenv GRASP_FRAMEPATH /usr/local/GRASP/18nov94.1frame
calibrateF
xmgr -pipe &
to get an animated display showing the calibrated power spectrum
changing. An example of the output from calibrateF is shown in
Figure
. Note that most of the execution time here is
spent passing data down the pipe to xmgr and displaying it. The
display can be speeded up by a factor of ten by binning the
output values to reduce their number to a few hundred lines (the example
program calibrate_binnedF.c implements this technique; it can be
run by typing calibrate_binnedF | xmgr -pipe).
Figure:
This shows a snapshot of the output from the program calibrateF
which displays an animated average power spectrum (Welch windowed, 30-second decay time).
 |
Includes/calibrateF.tex
- Author:
Bruce Allen, ballen@dirac.phys.uwm.edu
- Comments:
See comments for power_spectrumF example program.
Next: Example: transferF program
Up: GRASP Routines: Reading/using FRAME
Previous: Example: power_spectrumF program
  Contents
Bruce Allen
2000-11-19