XASSearchData

class emmet.core.summary.XASSearchData(**data)

Bases: PropModel

Fields in XAS sub docs in summary

Parameters:
  • prop_origins (Annotated[list[PropertyOrigin | None], SkipJsonSchema()])

  • edge (XasEdge | None)

  • absorbing_element (Annotated[ElementTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.element_adapter.<lambda>, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.element_adapter.<lambda>, return_type=str, when_used=always)] | None)

  • spectrum_type (XasType | None)

model_config: ClassVar[ConfigDict] = {}

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

model_post_init(context, /)

This function is meant to behave like a BaseModel method to initialize private attributes.

It takes context as an argument since that’s what pydantic-core passes when calling it.

Return type:

None

Parameters:
  • self (BaseModel)

  • context (Any)

Args:

self: The BaseModel instance. context: The context.