do_edit

Source: cli/datasets/do_edit.pro

 do_edit
        Apply an edit to the current dataset.

 Usage:
        do_edit, tstart, tstop, <type_key>[, streams]

 Arguments:
        tstart  dbl/flt input   The start time of the edit (a JD or a
                                DOY array).
        tstop   dbl/flt input   The end time of the edit.
        streams int     input   A list of streams to edit, a 1-D array
                                for a rate dataset, a 2xn array for
                                PAD or spect datasets. The default is
                                to apply to ALL streams.

 Keywords:
        cut             If set and non-zero, then cut the specified time range
                        from the streams. (DEFAULT)
        zero            If set and non-zero, then set the specified time range
                        to zero.
        set     float   If set and non-zero, then set the specified
                        time range to the specified
                        value. N.B. This is a raw-data value
                        (i.e. counts/second before BG subtraction).
        add     float   If set the add the specified quantity to the
                        raw data values.

 Notes:
        Only one edit type may be specified.
        If the streams in the list do not share a common raw time
        axis, then the editing will fail at a lower level in the
        calling sequence.

 History:
        Original: 19/2/01; SJT



James Tappin 2005-02-04