HXS_SPL makes a HXS spectrum fitted by single power law. You interactively choose the background and flare time intervals for the spectral analysis. IDL> hxs_spl,data,index