pengwann.interactions.AtomicInteractionContainer.filter_by_species#
- interactions.AtomicInteractionContainer.filter_by_species(symbols)#
Return a subset of AtomicInteraction objects filtered by atomic species.
For a given interaction to be returned by this function, its associated elemental symbols must be a subset of symbols.
- Parameters:
- Returns:
- filtered_interactions
tupleofAtomicInteraction The subset of AtomicInteraction objects selected according to the input symbols.
- filtered_interactions
Notes
This function will always return a tuple of AtomicInteraction objects even if it has
len()= 1.