opencadd.structure.core.Structure.from_atomgroup
- classmethod Structure.from_atomgroup(*args)[source]
Create a new new
Structurefrom one or moreAtomGroupinstances.- Parameters
*args (
AtomGroup) – One or more AtomGroups.- Returns
structure
- Return type
- Raises
ValueError – Too few arguments or an AtomGroup is empty and
TypeError – Arguments are not
AtomGroupinstances.
Notes
This is take straight from
MDAnalysis.universe. Refer to that module for more information.