- Extract a light curve from the table event.fits:EVENTS, using the
default column name TIME. Write the light curve to the file
rate.fits.
evselect table='event.fits:EVENTS' rateset=rate.fits
- Extract an image from the table event.fits:RAW EVENTS, using the default
columns RAWX, RAWY when the value of RAWX is greater than
50. Write the output to the file image.fits. The results of the
filtering is not saved.
evselect table='event.fits:RAW EVENTS' expression='RAWX>50' imageset=image.fits
- Extract a spectrum from the first extension in the file event.fits, in a
circle in X, Y space. Write the spectrum to the file
myspec.fits, and write the filter results back into the input file.
Accumulate the spectrum using the default energy column PHA:
evselect table='event.fits' expression='circle(152.5,194.0,14.5,X,Y)'
spectrumset=myspec.fits keepfilteroutput=true
- Filter the table event.fits:EVENTS, using the data subspace information
in the block dss.fits:SPECTRUM. Rejected events are removed from the output
file, which is written to good_events.fits.
evselect table='event.fits:EVENTS' dssblock='dss.fits:SPECTRUM'
filteredset='good_events.fits'