The subdirectory S5 contains 20 scans (17020 to 17039)
of observations of one position
of a galaxy. Each scan has had a baseline removed so there is a
value of the rms (
) stored in the header.
To average these 20 scans into
1 scan, weighted by 1/
, and store the
result in S10, one simply types,
S12> s10 = s5 ave ?
The program stops to list the average function constants.
WEIGHTING (1=EQUAL, 2=RMS**-2, 3=TINT)= 2
Since the weighting is already set to the desired value, the user simply enters a carriage return. The program then averages the 20 scans and writes the result (1 scan) to s10. The scan number and header of the resultant average scan is taken from the first scan of the average. A few header values have been modified to reflect the average operation. One important header which is not modified is the rms. One needs to remove a baseline from the average scan to update this value. S12> cd s10 S10> = 17020 base
This
is especially important if any additional data is to be averaged to the
resultant scan using 1/
weights.