SoundVelocity
- class emmet.core.phonon.SoundVelocity(**data)
Bases:
BaseModelDefinition for a document with the sound velocities of the acoustic modes close to Gamma, as obtained from a phonon calculation.
- Parameters:
material_id (str)
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)])
directions (list[tuple[float, float, float]])
labels (list[str | None])
sound_velocities (list[tuple[float, float, float]])
mode_types (list[tuple[str | None, str | None, str | None]])
last_updated (Annotated[datetime, FieldInfo(annotation=NoneType, required=False, default_factory=utcnow), BeforeValidator(func=~emmet.core.utils.convert_datetime, json_schema_input_type=PydanticUndefined)])
created_at (Annotated[datetime, FieldInfo(annotation=NoneType, required=False, default_factory=utcnow), BeforeValidator(func=~emmet.core.utils.convert_datetime, json_schema_input_type=PydanticUndefined)])
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].