tlpipe.plot.plot_phase.Timestream.from_group

Timestream.from_group(data_group=None, detect_subclass=True)[source]

Create data object from a given group.

This wraps the given group object, optionally returning the correct subclass. This does not call __init__ on the subclass when this happens.

Parameters:
  • data_group (h5py.Group, MemGroup or string, optional) – h5py like data containerto wrap.
  • detect_subclass (boolean, optional) – If data_group is specified, whether to inspect for a ‘__memh5_subclass’ attribute which specifies a subclass to return.
Returns:

grp

Return type:

MemDiskGroup