Next: Example: transfer program
Up: GRASP Routines: Reading/using Caltech
Previous: Example: power_spectrum program
  Contents
0
This example uses the function normalize_gw() 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:
calibrate
xmgr -pipe &
to get an animated display showing the calibrated power spectrum
changing. An example of the output from calibrate 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_binned.c implements this technique; it can be
run by typing calibrate_binned | xmgr -pipe).
Figure:
This shows a snapshot of the output from the program calibrate
which displays an animated average power spectrum (Welch windowed, 30-second decay time).
 |
Includes/calibrate.tex
- Author:
Bruce Allen, ballen@dirac.phys.uwm.edu
- Comments:
See comments for power_spectrum example program.
Next: Example: transfer program
Up: GRASP Routines: Reading/using Caltech
Previous: Example: power_spectrum program
  Contents
Bruce Allen
2000-11-19