This class handles a list of event files. In particular
it allows grouping the files with common keywords, and
allows merging event files, properly handling the GTI
extensions, etc.
Parent Class:
Util::FITSlist
Constructor
Accessors
- nevents()
Access the total number of events in all the files.
Methods
- group(key_list, min_events)
Divide the files in the list into a set of sublists, grouping
files with specified keys together. This is basicly an interface
to the group_event_files STOOL.
The first argument is a file listing the keywords to be considered.
The second optional argument is the minimum number of events per group.
- merge(merged_file, merged)
Merge the files in the list into a single FITS file with the given name
This is basicly just an interface to the cmerge STOOL
Note this overrides the generic Util::FITSlist merge method
which uses the fmerge FTOOL.
- merge_gtis(merged)
Merge the GTIs from all the event files in the list.
If there is more than one event file in the list the result it sorted in time
and a new file with the suggested name is created.
If there is only one file in the list, nothing is done and the name of
the original file is returned.
if the list is empty, returns nothing.