dynsight.hdf5er.create_universe_from_slice

dynsight.hdf5er.create_universe_from_slice(trajectorygroup, useslice=None)[source]

Creates a MDanalysis.Universe from a trajectory group.

  • Original author: Daniele Rapetti

Parameters:
  • trajectorygroup (h5py.Group) – the given trajectory group

  • useslice (slice | None) – the asked slice from wich create an universe. Defaults to slice(None).

Returns:

an universe containing the wnated part of the trajectory

Return type:

MDAnalysis.Universe