NAME:
xmm_4bands
PURPOSE:
takes in a structure obtained by doing mrdfits on an emllist xmm
source list and modifies it to contain 4 fluxes, rates, etc per
object rather than 4 rows per object
WARNING: This program will only work if the bands are in ascending
order
CALLING SEQUENCE:
stout=xmm_4bands(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 4 fluxes, etc per object
EXAMPLE:
st2=xmm_4bands(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
09-Nov-2000 S.Aigrain: adapted to deal with 4 bands only
(See /home/xmmssc/soft/idl/pro/dbcreate/xmm_4bands.pro)