DefectInfo

class emmet.core.defect.DefectInfo(**data)

Bases: BaseModel

Information related to a point defect.

Parameters:
  • defect_name (str)

  • bulk_formula (str)

  • defect (Annotated[DefectTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.defect_adapter.pop_defect_empty_structure_fields, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.defect_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.defect_adapter.TypedDefectDict, when_used=always)])

  • charge_state (int | None)

  • supercell_matrix (list[list[int, int, int]] | None)

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].