spect_dataset::add_stream

Source: dataset/spect/spect_dataset__add_stream.pro

 spect_dataset::add_stream
        Add a stream to a spect dataset.

 Usage:
        strref = dsref -> add_stream(type, channel, $
                        [panel|/new_panel], name=name, menu=menu, $
                        group=group)

 Arguments:
        type    string  The type of stream to add: this must be a type
                        known to the dataset.
        channel string  A channel specifier for the stream. Must be
                        valid for the stream type.
        panel   int     The panel number on which the stream is to
                        appear. If this is outside the range of
                        currently defined panels, then it is
                        equivalent to /new_panel.

 Keywords:
        new_panel       If set, then put the stream on a new panel.
        name    string  A string to give a name to the stream.
        menu            If set, then use a menu to define the channel.
        group   long    For a menu addition, this is the group leader
                        for the widget hierarchy (as the stream menu
                        has to be modal this must be given for a menu
                        case).
        derived         If set, then this is a derived stream
                        we are adding (different valid list)

 History:
        Original (after PAD): 20/3/00; SJT
        Added _extra key: 30/6/00; SJT



James Tappin 2005-02-04