Energy Flux Slicer patch

2/7/2001

Problem The "energy slice" line plot returned is not correct when TIMAS data is displayed in energy flux units.

A temporary fix

Add to  timas_spec_slice.pro  the lines shown below between asterisks:

   case type(4) of
       0:begin
           xtitle='Ion Energy (eV/q)'
           ytitle= 'Flux (cm!U2!N-s-sr-keV/q)!U-1!N'
       end
       1:begin
           xtitle='Ion Energy (eV/q)'
           ytitle= 'Energy Flux (keV/q)/(cm!U2!N-s-sr-keV/q)'
           ; ***** Made this addition to correct error in units, ESC, 2/7/01.
           aven = (spec_header.energy_bounds(0:spec_header.energy_bins-1) $
             + spec_header.energy_bounds(1:spec_header.energy_bins))/2000.
           spectrum = spectrum*aven
           ; *****
       end

Prepared by Bill Peterson