fast_forward.itp_to_ag module¶
Extract interactions pairs from itp and convert to atom groups of an MDAnalysis Universe.
- class fast_forward.itp_to_ag.ITPInteractionMapper(universe, blocks, molnames)[source]¶
Bases:
objectClass to extract interaction groups from itp files and map them to indices in an MDAnalysis Universe.
- Parameters:
- fast_forward.itp_to_ag.find_mol_indices(universe, atoms, moltypes)[source]¶
Given a universe select all atoms that belong to molecules of the given moltype. Subsequently, return indices of all multiples of the indices defined in atoms under the assumption that all considered molecules have the same number of atoms.