rate_dataset::form_index

Source: dataset/rate/rate_dataset__form_index.pro

  rate_dataset::form_index
        Forms a index between two previously plotted streams, and adds
        them as a new stream to the dataset.

 Usage:
        dsref -> form_index,index1,index2

 Arguments:
        index1  int     input   The index of the numerator stream in the index
        index2  int     input   The index of the denominator stream in
                                the index

 History:
        Original version, derived from extract_sect: 8/11/91; SJT
        Add capability for more than a single ratio: 2/3/92; SJT
        Add option to form ratio for specific sectors: 17/9/92; SJT
        Set sector_flag if extracting sectors: 5/11/92; SJT
        Cope with dual accumulation MFSA rates: 6/11/92; SJT
        Clean up case of sector ratios when only 1 channel present:
                                                12/5/93; SJT
        Add option to use average sectors as well: 28/3/95; SJT
        Major simplifications as computations move to stream: 11/4/02; SJT



James Tappin 2005-02-04