spect_get_data

Source: cli/datasets/spect_get_data.pro

 spect_get_data
        Return the data from a SPECT dataset.

 Usage:
        spect_get_data, rates, energy[, ebounds=ebounds]


 Arguments:
        rates   float   OUTPUT  A named variable to contain the fluxes
                                or count rates.
        energy  float   OUTPUT  A named variable to contain the
                                mid-point energies.

 Keyword:
        ebounds float   OUTPUT  A named variable to contain the upper
                                and lower energy bounds.

 Notes:
        To return the data for a whole dataset, it must have a uniform
        sectoring or at least the same number of sectors in each
        stream.
        The panelling information is lost.

 Datasets:
        SPECT

 History:
        Original: 25/8/00; SJT
        Fix problem with single-sectored spectra: 2/2/04; SJT



James Tappin 2005-02-04