build_electronic_structure_docs

emmet.builders.materials.electronic_structure.build_electronic_structure_docs(inputs, **kwargs)

Generate electronic structure documents from tagged input data.

Dispatches on the variant field of the provided ESBuilderInput to construct ElectronicStructureDoc instances via the appropriate factory method (from_structure, from_bs, from_dos, or from_bsdos).

Caller is responsible for creating ESBuilderInput instances within their data pipeline context.

Return type:

Iterator[ElectronicStructureDoc]

Parameters:

inputs (ESBuilderInput)

Args:
inputs: An ESBuilderInput whose variant selects the

construction path and whose data contains the corresponding list of input documents to process.

Returns:

Iterator[ElectronicStructureDoc]