Next: Function: GRnormalize()
Up: GRASP Routines: Reading/using FRAME
Previous: Function: GRcalibrate()
Contents
Example: print_ssF program
0
This example uses the function GRcalibrate() to read the swept
sine calibration information from a frame, and then prints out a list
of frequencies, real, and imaginary parts interpolated from this data.
The frequencies are appropriate for the FFT of a 4096 point data set with
sample rate srate. The technique used is spline interpolation.
To run this program, and display a graph, type
setenv GRASP_FRAMEPATH /usr/local/GRASP/18nov94.1frame
print_ssF > outputfile
xmgr nxy outputfile
Includes/print_ssF.tex
Figure:
A swept sine calibration curve, showing the real and imaginary parts, produced by
the example program print_ssF.

Bruce Allen
20001119