rate_dataset::move_stream

Source: dataset/rate/rate_dataset__move_stream.pro

 rate_dataset::move_stream
        Reorder the streams in a rate dataset.

 Usage:
        dsref -> move_stream, {name| from=from}[, to=to]

 Argument:
        name    string  The name of the stream to move.

 Keywords:
        from    int     The index of the stream to move.
        to      int     The location at which to replace the stream,
                        if this is not given then the stream is moved
                        one location earlier (if possible).

 Notes:
        It is an error to give both a name and a from index.
        This is a RATE dataset method since the "ordering" models of
        PAD and SPECT datasets are different (they include groupings).
 
 History:
        Original: 9/12/99; SJT
        Transfer explicit offsets: 12/10/01; SJT



James Tappin 2005-02-04