LIGOtools Package: segments
This package consists of several tools to create an manipulate lists of "segments", i.e. GPS time intervals:
- segwizard, a utility to generate
lists of segments for data analysis, using data quality information.
segwizard has two modes of operation, one a graphical user interface
and the other a command-line utility.
- segexpr, a command-line
utility to operate on segment lists in files (unions, intersections, etc.).
- segsum, a command-line
utility to calculate the total time in the segments listed in a file.
- segdiff, a command-line
utility to compare two segment list files.
- segID, a command-line
utility to return the segment ID number for a given run, detector(s), and time.
- A Tcl library called "segments" which
provides various functions to manipulate segment lists represented as
Tcl lists.
- The makeSegmentXML utility,
which takes an ASCII file of times as input and constructs a LIGO_LW XML file
with segment-table entries, suitable for insertion into the database using
putMeta.
Author: Peter Shawhan
Version 3.1
Release date: May 26, 2006
History of changes
Notes
Documentation
- Typing segwizard without
any arguments brings up a graphical user interface which is designed
for exploration, so just go ahead and explore. segwizard also has a command-line mode
(bypassing the graphical user interface) when arguments are specified
on the command line. Type "segwizard help" for complete
usage information.
- For information about the segexpr, segdiff, segID, or makeSegmentXML utilities,
type the name of the utility without any arguments.
- For information about the segsum utility, type "segsum -h".
- Documentation for the
"segments" Tcl library
Distribution files
Normally, you should use the ligotools_update utility to
download and install new packages or new versions of existing
packages, since it automatically figures out what packages need to be
updated. However, if you wish to do so manually, then click on the
name of the appropriate distribution file (below) with the
right mouse button and choose "Save Link As..." from
the popup menu. Note that you must save it on your disk with exactly
the same name as it has on this web site. After the file has been
downloaded, do:
ligotools_install <file>
where <file> is the file which was downloaded. This
procedure will be quicker if the environment variable
LIGOTOOLS is set to the main LIGOtools directory.