Package glue :: Module pipeline :: Class AnalysisChunk
[hide private]
[frames] | no frames]

Class AnalysisChunk

source code

An AnalysisChunk is the unit of data that a node works with, usually some subset of a ScienceSegment.

Instance Methods [hide private]
 
__init__(self, start, end, trig_start=0, trig_end=0) source code
 
__len__(self)
Returns the length of data for which this AnalysisChunk will produce triggers (in seconds).
source code
 
__repr__(self) source code
 
dur(self)
Returns the length (duration) of the chunk in seconds.
source code
 
end(self)
Returns the GPS end time of the chunk.
source code
 
set_trig_end(self, end)
Set the last GPS time at which triggers for this chunk should be generated.
source code
 
set_trig_start(self, start)
Set the first GPS time at which triggers for this chunk should be generated.
source code
 
start(self)
Returns the GPS start time of the chunk.
source code
 
trig_end(self)
Return the last GPS time at which triggers for this chunk should be generated.
source code
 
trig_start(self)
Return the first GPS time at which triggers for this chunk should be generated.
source code
Method Details [hide private]

__init__(self, start, end, trig_start=0, trig_end=0)
(Constructor)

source code 
Parameters:
  • start - GPS start time of the chunk.
  • end - GPS end time of the chunk.
  • trig_start - GPS time at which to start generating triggers
  • trig_end - GPS time at which to stop generating triggers