Source: stream/rate/rate_stream__attach_raw_data.pro
rate_stream::attach_raw_data
Attach a set of raw data arrays to a rate stream
Usage:
strid->attach_raw_data, rate, time_ptr, time_ref_ptr
arguments:
rate float/ptr Either the raw data array or a
pointer to it.
time_ptr pointer A pointer to the time array (it can
optionally be the actual time array,
but this is memory hungry).
time_ref_ptr pointer A pointer to the refcount for the time
array. (Ignored if the actual time
array is passed).
Notes:
It is the responsibility of the calling routine (usually the
rate_dataset acquire method) to sort out the pointers for the
time array and hand a pointer with the correct refcount to the
method.
History:
Original: 19/11/99; SJT
Fix memory leak: 25/11/99; SJT
Redesign refcounting: 8/2/01; SJT