rekall.bounds.bounds1D module

This module defines and implements the Bounds1D one-dimensional bound.

class rekall.bounds.bounds1D.Bounds1D(t1, t2)

Bases: rekall.bounds.abstract_bounds.Bounds

Object representing a one-dimensional (temporal) bound.

This class has co-ordinates ‘t1’ and ‘t2’, representing the start and end in a temporal dimension, respectively. This class has no built-in casts, since there’s only one dimension.

T()

Returns a tuple representing the time axis.

copy()

Returns a copy of this bound.

classmethod fromTuple(t1t2_tuple)

Create a Bounds1D object with a tuple of length two.

Parameters:t1t2_tuple – A tuple of length two. The tuple items can be any type with an ordering function. The first tuple item becomes the value for ‘t1’, and the second tuple item becomes the value for ‘t2’.
Returns:A Bounds1D object with ‘t1’ and ‘t2’ co-ordinates, specified by t1t2_tuple.
intersect(other)

Returns the bound intersecting self and other, or None if the bounds do not overlap.

Returns:A single Bounds1D covering the intersection of self and other, or None if the two bounds do not overlap.
primary_axis()

The primary axis is time.

span(other)

Returns the minimum Bound spanning both self and other.

Returns:A single Bounds1D spanning self and other.