Package pylal :: Module followup_utils :: Class connectToFrameData
[hide private]
[frames] | no frames]

Class connectToFrameData

source code

A class that uses classes defined in pylal.frutils. This handles searching for data via ligo_data_find and creating an object which can fetch specific channels from that data epoch given a frame type.

Instance Methods [hide private]
 
__init__(self, gpsStart=None, gpsEnd=None, frameType="R", observatory=None, urlType="local", noGaps=True, verbose=False) source code
 
getDataStream(self, channel=None, gpsStart=None, gpsEnd=None, verbose=None)
Fetch data inside the bounds specified during the init call to this class.
source code
 
saveAsTextDataStream(self, channel=None, gpsStart=None, gpsEnd=None, filename=None, verbose=None)
Write the data from the stream to an ascii text file
source code
 
convertFrObjectToXYLists(self, dataStream)
Returns two lists as (tStamps,dataPoints) the method expects you to give is an object FrameCache from frutils.FrameCache(xxxx).fetch() or use this getDataStream() method to get a variable of this type.
source code
Method Details [hide private]

getDataStream(self, channel=None, gpsStart=None, gpsEnd=None, verbose=None)

source code 

Fetch data inside the bounds specified during the init call to this class. If gpsStart and gpsEnd are None then we fetch data around gpsZero with a window of pm gpsWindow.