timeflux.nodes.hdf5


timeflux.nodes.hdf5: HDF5 nodes

hdf5

class timeflux.nodes.hdf5.Replay(filename, keys, speed=1, timespan=None, resync=True)[source]

Bases: timeflux.core.node.Node

Replay a HDF5 file.

Initialize.

Parameters
  • filename (string) – The path to the HDF5 file.

  • keys (list) – The list of keys to replay.

  • speed (float) – The speed at which the data must be replayed. 1 means real-time.

  • timespan (float) – The timespan of each chunk, in seconds. If not None, will take precedence over the speed parameter

  • resync (boolean) – If False, timestamps will not be resync’ed to current time

update(self)[source]
terminate(self)[source]
class timeflux.nodes.hdf5.Save(filename=None, path='/tmp', complib='zlib', complevel=9, min_itemsize=None)[source]

Bases: timeflux.core.node.Node

Save to HDF5.

Initialize.

Parameters
update(self)[source]
terminate(self)[source]