SurfacePropDoc

class emmet.core.surface_properties.SurfacePropDoc(**data)

Bases: BaseModel

Model for a document containing surface properties data

Parameters:
  • surfaces (list[SurfaceEntry] | None)

  • weighted_surface_energy_EV_PER_ANG2 (float | None)

  • weighted_surface_energy (float | None)

  • surface_anisotropy (float | None)

  • pretty_formula (str | None)

  • shape_factor (float | None)

  • weighted_work_function (float | None)

  • has_reconstructed (bool | None)

  • material_id (str | None)

  • structure (Annotated[StructureTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.structure_adapter.pop_empty_structure_keys, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.structure_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.structure_adapter.TypedStructureDict, when_used=always)] | None)

model_config: ClassVar[ConfigDict] = {}

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