components_are_vdw_heterostructure
- emmet.core.featurization.robocrys.condense.component.components_are_vdw_heterostructure(components)
Whether a list of components form a van der Waals heterostructure.
A heterostructure is defined here as a structure with more than one formula inequivalent 2D component.
- Return type:
bool- Parameters:
components (list[dict[str, Any]])
- Args:
- components: A list of structure components, generated using
pymatgen.analysis.dimensionality.get_structure_components.
- Returns:
Whether the list of components from a heterostructure.