dyn_spect_stream::average_data

Source: stream/dyn_spect/dyn_spect_stream__average_data.pro

 dyn_spect_stream::average_data
        Do time averaging on a dyn_spect stream.

 Usage:
        strref -> average_data, tptr,trptr

 Arguments:
        tptr    pointer A pointer to the times for the averaged data.
        trptr   pointer A pointer to a reference count for the times array.
        nav     int     The number of averaged times.
        avt     double  The time bounds for the averages.

 Keywords:
        duty    float   The duty cycle for each rate point (this is
                        passed from the more specific averaging
                        routine if duty cycles can be determined,
                        otherwise 1 is used).

 Notes:
        It is the responsibility of the calling routine (normally the
        dataset averaging method) to provide a sensible reference
        count.

 History:
        Original (after rates): 9/8/01; SJT
        Fix for sectored streams: 19/7/02; SJT



James Tappin 2005-02-04