Re: GTI filter syntax

From: Jonathan McDowell (jcm@head-cfa.harvard.edu)
Date: Sun Apr 15 2001 - 20:13:49 EDT


Mark,
 you should be able to just do
cat > gti.asc
time=:65966680,65967880:65970680,65971180:65981880,65986580:
^D
dmcopy "acis_evt2a_ccd5.fits[@gti.asc]" result.fits

or even just of course
dmcopy "acis_evt2a_ccd5.fits[time=:65966680,65967880: ...]" result.fits

note that you probably can't use spaces after the commas, the parser
is finicky about that.
The dmgti program has a different syntax, it was developed for another
purpose (long story), I think there you have to do things like time>=value,
and so on. But you don't need to use it to do a simple time filter,
simply using a direct CXC DM filter on the event file should give
you the results you want
 - Jonathan McDowell



This archive was generated by hypermail 2b29 : Thu Dec 13 2012 - 01:00:05 EST