lan_rate_stream::attach_raw_data

Source: stream/rate/Lan/lan_rate_stream__attach_raw_data.pro

 lan_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).

 Keyword:
        spin_one        The spin number of the first datum (needed for
                        error calculations for some channels).

 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: 1/2/00; SJT



James Tappin 2005-02-04