Module autotrackutils
source code
* Copyright (C) 2004, 2005 Cristina V. Torres * * This program is
free software; you can redistribute it and/or modify * it under the
terms of the GNU General Public License as published by * the Free
Software Foundation; either version 2 of the License, or * (at your
option) any later version. * * This program is distributed in the hope
that it will be useful, * but WITHOUT ANY WARRANTY; without even the
implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the * GNU General Public License for more details. * *
You should have received a copy of the GNU General Public License *
along with with program; see the file COPYING. If not, write to the *
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA
02111-1307 USA
Author:
Cristina Torres <cristina.torres@ligo.org>
|
autotrackError
Generic class raise this flag if we do not have a better flag name.
|
|
autotrackDefineMismatchError
Custom error exceptions for these class objects.
|
|
autotrackDefineIdMismatchError
Custom error handling of mismatched ID
|
|
plotTGN
This class is a wrapper for plotting TGNs.
|
|
TGN
This class provides the definition of a single defined autotrack
defined neighborhood.
|
|
tgnThread
This class is a simple list object with manipulation methods which
is called a thread that shows how the TNGs are related and it also
tracks knots (intersections/overlaps) of two different threads.
|
|
autotrackSQL
This class provides sqlite table creation query deletion etc,
related funtions for working the the autotrack databases.
|
|
|
|
|
|
getQualityTable(backEndName="tracksearch")
Method is a complex case statement that selects out given a back-end
name the properties that the TGN should be capable of tracking. |
source code
|
|
|
coalescetuplelist(inputList=list())
Takes an input list of tuples representing start,stop and merges them
placing them in time order when returning the coalesced list of
tuples. |
source code
|
|
|
activeThreadIntervals(tgnList=list(),
tgnSize=int(300))
A simple coalesce feature useful to autotrack to return a list of
segments which define intervals that the thread was active. |
source code
|
|
writeTGNListToFile(filename="default",
tgnList=None)
| source code
|
This writes the information in the tgnList to a simple text file.
Actually we write two files. filename.TGN and filename.AUX. In the AUX
file is information like time stamps, and other misc information from the
TGNs that are dumped to disk!
|
generateTGNListFromFile(filename="",
timestamp=str("0"))
| source code
|
This method opens a text file containing multiple TGNs and creates a
list of TGN objects. It is assumed that this list of TGNs was created at
the same time for each TGN in the file.
|
Method is a complex case statement that selects out given a back-end
name the properties that the TGN should be capable of tracking. Depends
on the output formatting of tracksearchMDGCv2.m file
|