NAME:
xmm_3bands
PURPOSE:
takes in a structure obtained by doing mrdfits on an emllist xmm
source list and modifies it to contain 3 fluxes, rates, etc per
object rather than 3 rows per object
WARNING: This program will only work if the bands are in ascending
order
CALLING SEQUENCE:
stout=xmm_3bands(str)
INPUTS:
st: structure created by doing mrdfits on an emllist xmm source list
OUTPUTS:
stout: a structure containing the same info as str apart from a few
discarded fields and 3 fluxes, etc per object
EXAMPLE:
st2=xmm_3bands(st1)
DEPENDENCIES:
RESTRICTIONS:
UNTESTED
CALLED PROCEDURES AND FUNCTIONS:
astrolib functions
MODIFICATION HISTORY:
06-Nov-2000 Original by Suzanne Aigrain
08-Nov-2000 S. Aigrain modified to use corrected coords when present
10-Nov-2000 S.Aigrain: adapted to deal with 3 bands only
(See /home/xmmssc/soft/idl/pro/dbcreate/xmm_3bands.pro)