universe

mdtools.select.universe(top, trj, verbose=True, **kwargs)[source]

Create an MDAnalysis Universe from a topology and a trajectory file.

Parameters:
Returns:

universe (MDAnalysis.core.universe.Universe) – The created MDAnalysis Universe.

Raises:

RuntimeWarning : – If the created Universe contains no atoms.

See also

mdtools.run_time_info.ag_info_str()

Create a string containing information about an MDAnalysis AtomGroup.

Notes

This function is just a convenient wrapper around the constructor of MDAnalysis.core.universe.Universe that can print the information generated by mdtools.run_time_info.ag_info_str() about the created MDAnalysis.core.universe.Universe to standard output.