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