mat3ra-esse 2025.5.17.post0__py3-none-any.whl → 2025.5.17.post2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mat3ra-esse might be problematic. Click here for more details.
- mat3ra/esse/data/examples.py +1 -1
- mat3ra/esse/data/schemas.py +1 -1
- mat3ra/esse/models/apse/file/applications/espresso/7.2/pw_x.py +6 -6
- mat3ra/esse/models/coordinates_shape_enum.py +15 -0
- mat3ra/esse/models/core/reusable/axis_enum.py +13 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/base.py +21 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/box.py +24 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/cylinder.py +26 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/enum.py +15 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/plane.py +24 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/sphere.py +24 -0
- mat3ra/esse/models/core/reusable/coordinate_conditions/triangular_prism.py +27 -0
- mat3ra/esse/models/core/reusable/energy.py +2 -2
- mat3ra/esse/models/element.py +6 -6
- mat3ra/esse/models/material/__init__.py +14 -14
- mat3ra/esse/models/material/reusable/coordinate_conditions/base.py +21 -0
- mat3ra/esse/models/material/reusable/coordinate_conditions/box.py +24 -0
- mat3ra/esse/models/material/reusable/coordinate_conditions/cylinder.py +26 -0
- mat3ra/esse/models/material/reusable/coordinate_conditions/plane.py +24 -0
- mat3ra/esse/models/material/reusable/coordinate_conditions/sphere.py +24 -0
- mat3ra/esse/models/material/reusable/coordinate_conditions/triangular_prism.py +27 -0
- mat3ra/esse/models/{materials_category/defects/slab/configuration.py → material/reusable/slab/slab_configuration_with_termination.py} +195 -18
- mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom/configuration.py → material/reusable/slab/slab_with_termination.py} +198 -23
- mat3ra/esse/models/material/reusable/slab/two_slabs_stack.py +618 -0
- mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom/base_configuration.py → material/reusable/slab_configuration_with_termination.py} +318 -24
- mat3ra/esse/models/material/reusable/stack/slab_configuration_with_termination.py +593 -0
- mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +720 -0
- mat3ra/esse/models/material/reusable/stack/stack_of_slabs.py +737 -0
- mat3ra/esse/models/material/reusable/stack/stack_of_two_slabs.py +737 -0
- mat3ra/esse/models/material/reusable/supercell/supercell_matrix_2d.py +25 -0
- mat3ra/esse/models/material/reusable/supercell/supercell_matrix_3d.py +27 -0
- mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/configuration.py +14 -14
- mat3ra/esse/models/materials_category/defects/{zero_dimensional/slab → by_host/two_dimensional/layered}/configuration.py +149 -34
- mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/{configuration.py → point/configuration.py} +19 -15
- mat3ra/esse/models/materials_category/defects/configuration.py +18 -14
- mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +157 -19
- mat3ra/esse/models/materials_category/defects/two_dimensional/{slab_grain_boundary → grain_boundary_plane}/configuration.py +499 -404
- mat3ra/esse/models/materials_category/defects/two_dimensional/island/condition_json.py +28 -0
- mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +163 -48
- mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/__init__.py +3 -0
- mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/{pair.py → pair/configuration.py} +137 -133
- mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +14 -14
- mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/configuration.py +14 -14
- mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/configuration.py +14 -14
- mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/configuration.py +14 -14
- mat3ra/esse/models/materials_category/multi_material/interfaces/__init__.py +3 -0
- mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +737 -0
- mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +17 -21
- mat3ra/esse/models/properties_directory/derived_properties.py +11 -11
- mat3ra/esse/models/properties_directory/non_scalar/density_of_states.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +50 -50
- mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/electron_affinity.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/fermi_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/formation_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/ionization_potential.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/surface_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/total_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +2 -2
- mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
- mat3ra/esse/models/properties_directory/workflow/convergence/ionic.py +2 -2
- {mat3ra_esse-2025.5.17.post0.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/METADATA +1 -1
- {mat3ra_esse-2025.5.17.post0.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/RECORD +77 -58
- mat3ra/esse/models/materials_category/defects/enums/atom_placement_method.py +0 -22
- mat3ra/esse/models/materials_category/defects/enums/complex_defect_type.py +0 -18
- mat3ra/esse/models/materials_category/defects/enums/coordinates_shape.py +0 -21
- mat3ra/esse/models/materials_category/defects/enums/slab_defect_type.py +0 -19
- mat3ra/esse/models/materials_category/defects/enums.py +0 -13
- mat3ra/esse/models/materials_category/defects/zero_dimensional/defect_pair/configuration.py +0 -1026
- mat3ra/esse/models/materials_category/defects/zero_dimensional/point/base_configuration.py +0 -30
- /mat3ra/esse/models/{materials_category/defects/by_host/two_dimensional → core/reusable/coordinate_conditions}/__init__.py +0 -0
- /mat3ra/esse/models/{materials_category/defects/slab → material/reusable/coordinate_conditions}/__init__.py +0 -0
- /mat3ra/esse/models/{materials_category/defects/two_dimensional/slab_grain_boundary → material/reusable/stack}/__init__.py +0 -0
- /mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom → material/reusable/supercell}/__init__.py +0 -0
- /mat3ra/esse/models/materials_category/defects/{zero_dimensional/complex → by_host/two_dimensional/layered}/__init__.py +0 -0
- /mat3ra/esse/models/materials_category/defects/{zero_dimensional/defect_pair → by_host/two_dimensional/point}/__init__.py +0 -0
- /mat3ra/esse/models/materials_category/defects/{zero_dimensional/slab → two_dimensional/grain_boundary_plane}/__init__.py +0 -0
- {mat3ra_esse-2025.5.17.post0.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/WHEEL +0 -0
- {mat3ra_esse-2025.5.17.post0.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/licenses/LICENSE.md +0 -0
- {mat3ra_esse-2025.5.17.post0.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
|
-
# filename: materials_category/defects/zero_dimensional/complex/pair.json
|
|
2
|
+
# filename: materials_category/defects/zero_dimensional/complex/pair/configuration.json
|
|
3
3
|
# version: 0.28.5
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
@@ -252,13 +252,13 @@ class Value(Enum):
|
|
|
252
252
|
Og = "Og"
|
|
253
253
|
|
|
254
254
|
|
|
255
|
-
class
|
|
255
|
+
class Value19(Enum):
|
|
256
256
|
X = "X"
|
|
257
257
|
Vac = "Vac"
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
class AtomicElementSchema(BaseModel):
|
|
261
|
-
value: Union[Value,
|
|
261
|
+
value: Union[Value, Value19]
|
|
262
262
|
"""
|
|
263
263
|
All elements, including extra elements
|
|
264
264
|
"""
|
|
@@ -406,30 +406,30 @@ class VolumeSchema(BaseModel):
|
|
|
406
406
|
value: float
|
|
407
407
|
|
|
408
408
|
|
|
409
|
-
class
|
|
409
|
+
class Name48(Enum):
|
|
410
410
|
density = "density"
|
|
411
411
|
|
|
412
412
|
|
|
413
|
-
class
|
|
413
|
+
class Units25(Enum):
|
|
414
414
|
g_cm_3 = "g/cm^3"
|
|
415
415
|
|
|
416
416
|
|
|
417
417
|
class DensitySchema(BaseModel):
|
|
418
418
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
419
|
-
units: Optional[
|
|
419
|
+
units: Optional[Units25] = None
|
|
420
420
|
value: float
|
|
421
421
|
|
|
422
422
|
|
|
423
|
-
class
|
|
423
|
+
class Units26(Enum):
|
|
424
424
|
angstrom = "angstrom"
|
|
425
425
|
|
|
426
426
|
|
|
427
427
|
class ScalarSchema(BaseModel):
|
|
428
|
-
units: Optional[
|
|
428
|
+
units: Optional[Units26] = None
|
|
429
429
|
value: float
|
|
430
430
|
|
|
431
431
|
|
|
432
|
-
class
|
|
432
|
+
class Name49(Enum):
|
|
433
433
|
symmetry = "symmetry"
|
|
434
434
|
|
|
435
435
|
|
|
@@ -449,7 +449,7 @@ class SymmetrySchema(BaseModel):
|
|
|
449
449
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
450
450
|
|
|
451
451
|
|
|
452
|
-
class
|
|
452
|
+
class Name50(Enum):
|
|
453
453
|
elemental_ratio = "elemental_ratio"
|
|
454
454
|
|
|
455
455
|
|
|
@@ -462,7 +462,7 @@ class ElementalRatio(BaseModel):
|
|
|
462
462
|
"""
|
|
463
463
|
|
|
464
464
|
|
|
465
|
-
class
|
|
465
|
+
class Name51(Enum):
|
|
466
466
|
p_norm = "p-norm"
|
|
467
467
|
|
|
468
468
|
|
|
@@ -475,7 +475,7 @@ class PNorm(BaseModel):
|
|
|
475
475
|
value: float
|
|
476
476
|
|
|
477
477
|
|
|
478
|
-
class
|
|
478
|
+
class Name52(Enum):
|
|
479
479
|
inchi = "inchi"
|
|
480
480
|
|
|
481
481
|
|
|
@@ -484,7 +484,7 @@ class InChIRepresentationSchema(BaseModel):
|
|
|
484
484
|
value: str
|
|
485
485
|
|
|
486
486
|
|
|
487
|
-
class
|
|
487
|
+
class Name53(Enum):
|
|
488
488
|
inchi_key = "inchi_key"
|
|
489
489
|
|
|
490
490
|
|
|
@@ -563,7 +563,7 @@ class FileSourceSchema(BaseModel):
|
|
|
563
563
|
"""
|
|
564
564
|
|
|
565
565
|
|
|
566
|
-
class
|
|
566
|
+
class Name54(Enum):
|
|
567
567
|
default = "default"
|
|
568
568
|
atomsTooClose = "atomsTooClose"
|
|
569
569
|
atomsOverlap = "atomsOverlap"
|
|
@@ -576,7 +576,7 @@ class Severity(Enum):
|
|
|
576
576
|
|
|
577
577
|
|
|
578
578
|
class MaterialConsistencyCheckSchema(BaseModel):
|
|
579
|
-
name:
|
|
579
|
+
name: Name54
|
|
580
580
|
"""
|
|
581
581
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
582
582
|
"""
|
|
@@ -672,7 +672,7 @@ class PointDefectConfigurationSchema(BaseModel):
|
|
|
672
672
|
"""
|
|
673
673
|
|
|
674
674
|
|
|
675
|
-
class
|
|
675
|
+
class Value20(Enum):
|
|
676
676
|
H = "H"
|
|
677
677
|
He = "He"
|
|
678
678
|
Li = "Li"
|
|
@@ -793,13 +793,13 @@ class Value30(Enum):
|
|
|
793
793
|
Og = "Og"
|
|
794
794
|
|
|
795
795
|
|
|
796
|
-
class
|
|
796
|
+
class Value21(Enum):
|
|
797
797
|
X = "X"
|
|
798
798
|
Vac = "Vac"
|
|
799
799
|
|
|
800
800
|
|
|
801
|
-
class
|
|
802
|
-
value: Union[
|
|
801
|
+
class AtomicElementSchema9(BaseModel):
|
|
802
|
+
value: Union[Value20, Value21]
|
|
803
803
|
"""
|
|
804
804
|
All elements, including extra elements
|
|
805
805
|
"""
|
|
@@ -809,8 +809,8 @@ class AtomicElementSchema13(BaseModel):
|
|
|
809
809
|
"""
|
|
810
810
|
|
|
811
811
|
|
|
812
|
-
class
|
|
813
|
-
elements: List[
|
|
812
|
+
class BasisSchema7(BaseModel):
|
|
813
|
+
elements: List[AtomicElementSchema9] = Field(..., title="atomic elements schema")
|
|
814
814
|
"""
|
|
815
815
|
atomic elements schema
|
|
816
816
|
"""
|
|
@@ -825,7 +825,7 @@ class BasisSchema11(BaseModel):
|
|
|
825
825
|
"""
|
|
826
826
|
|
|
827
827
|
|
|
828
|
-
class
|
|
828
|
+
class LatticeVectorsSchema6(BaseModel):
|
|
829
829
|
a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
830
830
|
b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
831
831
|
c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
@@ -836,12 +836,12 @@ class LatticeVectorsSchema11(BaseModel):
|
|
|
836
836
|
units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
|
|
837
837
|
|
|
838
838
|
|
|
839
|
-
class
|
|
839
|
+
class LatticeUnitsSchema6(BaseModel):
|
|
840
840
|
length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
|
|
841
841
|
angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
|
|
842
842
|
|
|
843
843
|
|
|
844
|
-
class
|
|
844
|
+
class LatticeSchema6(BaseModel):
|
|
845
845
|
a: float
|
|
846
846
|
"""
|
|
847
847
|
length of the first lattice vector
|
|
@@ -866,56 +866,56 @@ class LatticeSchema11(BaseModel):
|
|
|
866
866
|
"""
|
|
867
867
|
angle between first and third lattice vector
|
|
868
868
|
"""
|
|
869
|
-
vectors: Optional[
|
|
869
|
+
vectors: Optional[LatticeVectorsSchema6] = Field(None, title="lattice vectors schema")
|
|
870
870
|
type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
|
|
871
|
-
units: Optional[
|
|
872
|
-
default_factory=lambda:
|
|
871
|
+
units: Optional[LatticeUnitsSchema6] = Field(
|
|
872
|
+
default_factory=lambda: LatticeUnitsSchema6.model_validate({"length": "angstrom", "angle": "degree"}),
|
|
873
873
|
title="Lattice units schema",
|
|
874
874
|
)
|
|
875
875
|
|
|
876
876
|
|
|
877
|
-
class
|
|
877
|
+
class Name55(Enum):
|
|
878
878
|
volume = "volume"
|
|
879
879
|
|
|
880
880
|
|
|
881
|
-
class
|
|
881
|
+
class Units27(Enum):
|
|
882
882
|
angstrom_3 = "angstrom^3"
|
|
883
883
|
|
|
884
884
|
|
|
885
|
-
class
|
|
885
|
+
class VolumeSchema6(BaseModel):
|
|
886
886
|
name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
|
|
887
|
-
units: Optional[
|
|
887
|
+
units: Optional[Units27] = None
|
|
888
888
|
value: float
|
|
889
889
|
|
|
890
890
|
|
|
891
|
-
class
|
|
891
|
+
class Name56(Enum):
|
|
892
892
|
density = "density"
|
|
893
893
|
|
|
894
894
|
|
|
895
|
-
class
|
|
895
|
+
class Units28(Enum):
|
|
896
896
|
g_cm_3 = "g/cm^3"
|
|
897
897
|
|
|
898
898
|
|
|
899
|
-
class
|
|
899
|
+
class DensitySchema6(BaseModel):
|
|
900
900
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
901
|
-
units: Optional[
|
|
901
|
+
units: Optional[Units28] = None
|
|
902
902
|
value: float
|
|
903
903
|
|
|
904
904
|
|
|
905
|
-
class
|
|
905
|
+
class Units29(Enum):
|
|
906
906
|
angstrom = "angstrom"
|
|
907
907
|
|
|
908
908
|
|
|
909
|
-
class
|
|
910
|
-
units: Optional[
|
|
909
|
+
class ScalarSchema7(BaseModel):
|
|
910
|
+
units: Optional[Units29] = None
|
|
911
911
|
value: float
|
|
912
912
|
|
|
913
913
|
|
|
914
|
-
class
|
|
914
|
+
class Name57(Enum):
|
|
915
915
|
symmetry = "symmetry"
|
|
916
916
|
|
|
917
917
|
|
|
918
|
-
class
|
|
918
|
+
class SymmetrySchema6(BaseModel):
|
|
919
919
|
pointGroupSymbol: Optional[str] = None
|
|
920
920
|
"""
|
|
921
921
|
point group symbol in Schoenflies notation
|
|
@@ -924,18 +924,18 @@ class SymmetrySchema11(BaseModel):
|
|
|
924
924
|
"""
|
|
925
925
|
space group symbol in Hermann–Mauguin notation
|
|
926
926
|
"""
|
|
927
|
-
tolerance: Optional[
|
|
927
|
+
tolerance: Optional[ScalarSchema7] = Field(None, title="scalar schema")
|
|
928
928
|
"""
|
|
929
929
|
tolerance used for symmetry calculation
|
|
930
930
|
"""
|
|
931
931
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
932
932
|
|
|
933
933
|
|
|
934
|
-
class
|
|
934
|
+
class Name58(Enum):
|
|
935
935
|
elemental_ratio = "elemental_ratio"
|
|
936
936
|
|
|
937
937
|
|
|
938
|
-
class
|
|
938
|
+
class ElementalRatio6(BaseModel):
|
|
939
939
|
name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
|
|
940
940
|
value: confloat(ge=0.0, le=1.0)
|
|
941
941
|
element: Optional[str] = None
|
|
@@ -944,11 +944,11 @@ class ElementalRatio12(BaseModel):
|
|
|
944
944
|
"""
|
|
945
945
|
|
|
946
946
|
|
|
947
|
-
class
|
|
947
|
+
class Name59(Enum):
|
|
948
948
|
p_norm = "p-norm"
|
|
949
949
|
|
|
950
950
|
|
|
951
|
-
class
|
|
951
|
+
class PNorm6(BaseModel):
|
|
952
952
|
name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
|
|
953
953
|
degree: Optional[int] = None
|
|
954
954
|
"""
|
|
@@ -957,56 +957,56 @@ class PNorm12(BaseModel):
|
|
|
957
957
|
value: float
|
|
958
958
|
|
|
959
959
|
|
|
960
|
-
class
|
|
960
|
+
class Name60(Enum):
|
|
961
961
|
inchi = "inchi"
|
|
962
962
|
|
|
963
963
|
|
|
964
|
-
class
|
|
964
|
+
class InChIRepresentationSchema6(BaseModel):
|
|
965
965
|
name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
|
|
966
966
|
value: str
|
|
967
967
|
|
|
968
968
|
|
|
969
|
-
class
|
|
969
|
+
class Name61(Enum):
|
|
970
970
|
inchi_key = "inchi_key"
|
|
971
971
|
|
|
972
972
|
|
|
973
|
-
class
|
|
973
|
+
class InChIKeyRepresentationSchema6(BaseModel):
|
|
974
974
|
name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
|
|
975
975
|
value: str
|
|
976
976
|
|
|
977
977
|
|
|
978
|
-
class
|
|
978
|
+
class DerivedPropertiesSchema6(
|
|
979
979
|
RootModel[
|
|
980
980
|
Union[
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
981
|
+
VolumeSchema6,
|
|
982
|
+
DensitySchema6,
|
|
983
|
+
SymmetrySchema6,
|
|
984
|
+
ElementalRatio6,
|
|
985
|
+
PNorm6,
|
|
986
|
+
InChIRepresentationSchema6,
|
|
987
|
+
InChIKeyRepresentationSchema6,
|
|
988
988
|
]
|
|
989
989
|
]
|
|
990
990
|
):
|
|
991
991
|
root: Union[
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
992
|
+
VolumeSchema6,
|
|
993
|
+
DensitySchema6,
|
|
994
|
+
SymmetrySchema6,
|
|
995
|
+
ElementalRatio6,
|
|
996
|
+
PNorm6,
|
|
997
|
+
InChIRepresentationSchema6,
|
|
998
|
+
InChIKeyRepresentationSchema6,
|
|
999
999
|
] = Field(..., discriminator="name")
|
|
1000
1000
|
|
|
1001
1001
|
|
|
1002
|
-
class
|
|
1002
|
+
class Name62(Enum):
|
|
1003
1003
|
default = "default"
|
|
1004
1004
|
atomsTooClose = "atomsTooClose"
|
|
1005
1005
|
atomsOverlap = "atomsOverlap"
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class
|
|
1009
|
-
name:
|
|
1008
|
+
class MaterialConsistencyCheckSchema6(BaseModel):
|
|
1009
|
+
name: Name62
|
|
1010
1010
|
"""
|
|
1011
1011
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
1012
1012
|
"""
|
|
@@ -1024,7 +1024,7 @@ class MaterialConsistencyCheckSchema11(BaseModel):
|
|
|
1024
1024
|
"""
|
|
1025
1025
|
|
|
1026
1026
|
|
|
1027
|
-
class
|
|
1027
|
+
class MaterialSchema6(BaseModel):
|
|
1028
1028
|
formula: Optional[str] = None
|
|
1029
1029
|
"""
|
|
1030
1030
|
reduced chemical formula
|
|
@@ -1033,9 +1033,9 @@ class MaterialSchema10(BaseModel):
|
|
|
1033
1033
|
"""
|
|
1034
1034
|
chemical formula based on the number of atoms of each element in the supercell
|
|
1035
1035
|
"""
|
|
1036
|
-
basis:
|
|
1037
|
-
lattice:
|
|
1038
|
-
derivedProperties: Optional[List[
|
|
1036
|
+
basis: BasisSchema7 = Field(..., title="basis schema")
|
|
1037
|
+
lattice: LatticeSchema6 = Field(..., title="lattice schema")
|
|
1038
|
+
derivedProperties: Optional[List[DerivedPropertiesSchema6]] = Field(None, title="derived properties schema")
|
|
1039
1039
|
external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
|
|
1040
1040
|
"""
|
|
1041
1041
|
information about a database source
|
|
@@ -1056,7 +1056,7 @@ class MaterialSchema10(BaseModel):
|
|
|
1056
1056
|
"""
|
|
1057
1057
|
Whether to work in the finite molecular picture (usually with atomic orbital basis)
|
|
1058
1058
|
"""
|
|
1059
|
-
consistencyChecks: Optional[List[
|
|
1059
|
+
consistencyChecks: Optional[List[MaterialConsistencyCheckSchema6]] = None
|
|
1060
1060
|
field_id: Optional[str] = Field(None, alias="_id")
|
|
1061
1061
|
"""
|
|
1062
1062
|
entity identity
|
|
@@ -1081,7 +1081,7 @@ class MaterialSchema10(BaseModel):
|
|
|
1081
1081
|
metadata: Optional[Dict[str, Any]] = None
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
class
|
|
1084
|
+
class PointDefectConfigurationSchema1(BaseModel):
|
|
1085
1085
|
type: str
|
|
1086
1086
|
"""
|
|
1087
1087
|
The type of point defect
|
|
@@ -1092,7 +1092,7 @@ class PointDefectConfigurationSchema2(BaseModel):
|
|
|
1092
1092
|
"""
|
|
1093
1093
|
Whether coordinates are in cartesian rather than fractional coordinates
|
|
1094
1094
|
"""
|
|
1095
|
-
host: Optional[
|
|
1095
|
+
host: Optional[MaterialSchema6] = None
|
|
1096
1096
|
"""
|
|
1097
1097
|
The base host for the defect
|
|
1098
1098
|
"""
|
|
@@ -1102,7 +1102,7 @@ class PointDefectConfigurationSchema2(BaseModel):
|
|
|
1102
1102
|
"""
|
|
1103
1103
|
|
|
1104
1104
|
|
|
1105
|
-
class
|
|
1105
|
+
class Value22(Enum):
|
|
1106
1106
|
H = "H"
|
|
1107
1107
|
He = "He"
|
|
1108
1108
|
Li = "Li"
|
|
@@ -1223,13 +1223,13 @@ class Value32(Enum):
|
|
|
1223
1223
|
Og = "Og"
|
|
1224
1224
|
|
|
1225
1225
|
|
|
1226
|
-
class
|
|
1226
|
+
class Value23(Enum):
|
|
1227
1227
|
X = "X"
|
|
1228
1228
|
Vac = "Vac"
|
|
1229
1229
|
|
|
1230
1230
|
|
|
1231
|
-
class
|
|
1232
|
-
value: Union[
|
|
1231
|
+
class AtomicElementSchema10(BaseModel):
|
|
1232
|
+
value: Union[Value22, Value23]
|
|
1233
1233
|
"""
|
|
1234
1234
|
All elements, including extra elements
|
|
1235
1235
|
"""
|
|
@@ -1239,8 +1239,8 @@ class AtomicElementSchema14(BaseModel):
|
|
|
1239
1239
|
"""
|
|
1240
1240
|
|
|
1241
1241
|
|
|
1242
|
-
class
|
|
1243
|
-
elements: List[
|
|
1242
|
+
class BasisSchema8(BaseModel):
|
|
1243
|
+
elements: List[AtomicElementSchema10] = Field(..., title="atomic elements schema")
|
|
1244
1244
|
"""
|
|
1245
1245
|
atomic elements schema
|
|
1246
1246
|
"""
|
|
@@ -1255,7 +1255,7 @@ class BasisSchema12(BaseModel):
|
|
|
1255
1255
|
"""
|
|
1256
1256
|
|
|
1257
1257
|
|
|
1258
|
-
class
|
|
1258
|
+
class LatticeVectorsSchema7(BaseModel):
|
|
1259
1259
|
a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
1260
1260
|
b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
1261
1261
|
c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
@@ -1266,12 +1266,12 @@ class LatticeVectorsSchema12(BaseModel):
|
|
|
1266
1266
|
units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
|
|
1267
1267
|
|
|
1268
1268
|
|
|
1269
|
-
class
|
|
1269
|
+
class LatticeUnitsSchema7(BaseModel):
|
|
1270
1270
|
length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
|
|
1271
1271
|
angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
|
|
1272
1272
|
|
|
1273
1273
|
|
|
1274
|
-
class
|
|
1274
|
+
class LatticeSchema7(BaseModel):
|
|
1275
1275
|
a: float
|
|
1276
1276
|
"""
|
|
1277
1277
|
length of the first lattice vector
|
|
@@ -1296,56 +1296,56 @@ class LatticeSchema12(BaseModel):
|
|
|
1296
1296
|
"""
|
|
1297
1297
|
angle between first and third lattice vector
|
|
1298
1298
|
"""
|
|
1299
|
-
vectors: Optional[
|
|
1299
|
+
vectors: Optional[LatticeVectorsSchema7] = Field(None, title="lattice vectors schema")
|
|
1300
1300
|
type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
|
|
1301
|
-
units: Optional[
|
|
1302
|
-
default_factory=lambda:
|
|
1301
|
+
units: Optional[LatticeUnitsSchema7] = Field(
|
|
1302
|
+
default_factory=lambda: LatticeUnitsSchema7.model_validate({"length": "angstrom", "angle": "degree"}),
|
|
1303
1303
|
title="Lattice units schema",
|
|
1304
1304
|
)
|
|
1305
1305
|
|
|
1306
1306
|
|
|
1307
|
-
class
|
|
1307
|
+
class Name63(Enum):
|
|
1308
1308
|
volume = "volume"
|
|
1309
1309
|
|
|
1310
1310
|
|
|
1311
|
-
class
|
|
1311
|
+
class Units30(Enum):
|
|
1312
1312
|
angstrom_3 = "angstrom^3"
|
|
1313
1313
|
|
|
1314
1314
|
|
|
1315
|
-
class
|
|
1315
|
+
class VolumeSchema7(BaseModel):
|
|
1316
1316
|
name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
|
|
1317
|
-
units: Optional[
|
|
1317
|
+
units: Optional[Units30] = None
|
|
1318
1318
|
value: float
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
-
class
|
|
1321
|
+
class Name64(Enum):
|
|
1322
1322
|
density = "density"
|
|
1323
1323
|
|
|
1324
1324
|
|
|
1325
|
-
class
|
|
1325
|
+
class Units31(Enum):
|
|
1326
1326
|
g_cm_3 = "g/cm^3"
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
-
class
|
|
1329
|
+
class DensitySchema7(BaseModel):
|
|
1330
1330
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
1331
|
-
units: Optional[
|
|
1331
|
+
units: Optional[Units31] = None
|
|
1332
1332
|
value: float
|
|
1333
1333
|
|
|
1334
1334
|
|
|
1335
|
-
class
|
|
1335
|
+
class Units32(Enum):
|
|
1336
1336
|
angstrom = "angstrom"
|
|
1337
1337
|
|
|
1338
1338
|
|
|
1339
|
-
class
|
|
1340
|
-
units: Optional[
|
|
1339
|
+
class ScalarSchema8(BaseModel):
|
|
1340
|
+
units: Optional[Units32] = None
|
|
1341
1341
|
value: float
|
|
1342
1342
|
|
|
1343
1343
|
|
|
1344
|
-
class
|
|
1344
|
+
class Name65(Enum):
|
|
1345
1345
|
symmetry = "symmetry"
|
|
1346
1346
|
|
|
1347
1347
|
|
|
1348
|
-
class
|
|
1348
|
+
class SymmetrySchema7(BaseModel):
|
|
1349
1349
|
pointGroupSymbol: Optional[str] = None
|
|
1350
1350
|
"""
|
|
1351
1351
|
point group symbol in Schoenflies notation
|
|
@@ -1354,18 +1354,18 @@ class SymmetrySchema12(BaseModel):
|
|
|
1354
1354
|
"""
|
|
1355
1355
|
space group symbol in Hermann–Mauguin notation
|
|
1356
1356
|
"""
|
|
1357
|
-
tolerance: Optional[
|
|
1357
|
+
tolerance: Optional[ScalarSchema8] = Field(None, title="scalar schema")
|
|
1358
1358
|
"""
|
|
1359
1359
|
tolerance used for symmetry calculation
|
|
1360
1360
|
"""
|
|
1361
1361
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
1362
1362
|
|
|
1363
1363
|
|
|
1364
|
-
class
|
|
1364
|
+
class Name66(Enum):
|
|
1365
1365
|
elemental_ratio = "elemental_ratio"
|
|
1366
1366
|
|
|
1367
1367
|
|
|
1368
|
-
class
|
|
1368
|
+
class ElementalRatio7(BaseModel):
|
|
1369
1369
|
name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
|
|
1370
1370
|
value: confloat(ge=0.0, le=1.0)
|
|
1371
1371
|
element: Optional[str] = None
|
|
@@ -1374,11 +1374,11 @@ class ElementalRatio13(BaseModel):
|
|
|
1374
1374
|
"""
|
|
1375
1375
|
|
|
1376
1376
|
|
|
1377
|
-
class
|
|
1377
|
+
class Name67(Enum):
|
|
1378
1378
|
p_norm = "p-norm"
|
|
1379
1379
|
|
|
1380
1380
|
|
|
1381
|
-
class
|
|
1381
|
+
class PNorm7(BaseModel):
|
|
1382
1382
|
name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
|
|
1383
1383
|
degree: Optional[int] = None
|
|
1384
1384
|
"""
|
|
@@ -1387,56 +1387,56 @@ class PNorm13(BaseModel):
|
|
|
1387
1387
|
value: float
|
|
1388
1388
|
|
|
1389
1389
|
|
|
1390
|
-
class
|
|
1390
|
+
class Name68(Enum):
|
|
1391
1391
|
inchi = "inchi"
|
|
1392
1392
|
|
|
1393
1393
|
|
|
1394
|
-
class
|
|
1394
|
+
class InChIRepresentationSchema7(BaseModel):
|
|
1395
1395
|
name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
|
|
1396
1396
|
value: str
|
|
1397
1397
|
|
|
1398
1398
|
|
|
1399
|
-
class
|
|
1399
|
+
class Name69(Enum):
|
|
1400
1400
|
inchi_key = "inchi_key"
|
|
1401
1401
|
|
|
1402
1402
|
|
|
1403
|
-
class
|
|
1403
|
+
class InChIKeyRepresentationSchema7(BaseModel):
|
|
1404
1404
|
name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
|
|
1405
1405
|
value: str
|
|
1406
1406
|
|
|
1407
1407
|
|
|
1408
|
-
class
|
|
1408
|
+
class DerivedPropertiesSchema7(
|
|
1409
1409
|
RootModel[
|
|
1410
1410
|
Union[
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1411
|
+
VolumeSchema7,
|
|
1412
|
+
DensitySchema7,
|
|
1413
|
+
SymmetrySchema7,
|
|
1414
|
+
ElementalRatio7,
|
|
1415
|
+
PNorm7,
|
|
1416
|
+
InChIRepresentationSchema7,
|
|
1417
|
+
InChIKeyRepresentationSchema7,
|
|
1418
1418
|
]
|
|
1419
1419
|
]
|
|
1420
1420
|
):
|
|
1421
1421
|
root: Union[
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1422
|
+
VolumeSchema7,
|
|
1423
|
+
DensitySchema7,
|
|
1424
|
+
SymmetrySchema7,
|
|
1425
|
+
ElementalRatio7,
|
|
1426
|
+
PNorm7,
|
|
1427
|
+
InChIRepresentationSchema7,
|
|
1428
|
+
InChIKeyRepresentationSchema7,
|
|
1429
1429
|
] = Field(..., discriminator="name")
|
|
1430
1430
|
|
|
1431
1431
|
|
|
1432
|
-
class
|
|
1432
|
+
class Name70(Enum):
|
|
1433
1433
|
default = "default"
|
|
1434
1434
|
atomsTooClose = "atomsTooClose"
|
|
1435
1435
|
atomsOverlap = "atomsOverlap"
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
-
class
|
|
1439
|
-
name:
|
|
1438
|
+
class MaterialConsistencyCheckSchema7(BaseModel):
|
|
1439
|
+
name: Name70
|
|
1440
1440
|
"""
|
|
1441
1441
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
1442
1442
|
"""
|
|
@@ -1454,7 +1454,7 @@ class MaterialConsistencyCheckSchema12(BaseModel):
|
|
|
1454
1454
|
"""
|
|
1455
1455
|
|
|
1456
1456
|
|
|
1457
|
-
class
|
|
1457
|
+
class MaterialSchema7(BaseModel):
|
|
1458
1458
|
formula: Optional[str] = None
|
|
1459
1459
|
"""
|
|
1460
1460
|
reduced chemical formula
|
|
@@ -1463,9 +1463,9 @@ class MaterialSchema11(BaseModel):
|
|
|
1463
1463
|
"""
|
|
1464
1464
|
chemical formula based on the number of atoms of each element in the supercell
|
|
1465
1465
|
"""
|
|
1466
|
-
basis:
|
|
1467
|
-
lattice:
|
|
1468
|
-
derivedProperties: Optional[List[
|
|
1466
|
+
basis: BasisSchema8 = Field(..., title="basis schema")
|
|
1467
|
+
lattice: LatticeSchema7 = Field(..., title="lattice schema")
|
|
1468
|
+
derivedProperties: Optional[List[DerivedPropertiesSchema7]] = Field(None, title="derived properties schema")
|
|
1469
1469
|
external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
|
|
1470
1470
|
"""
|
|
1471
1471
|
information about a database source
|
|
@@ -1486,7 +1486,7 @@ class MaterialSchema11(BaseModel):
|
|
|
1486
1486
|
"""
|
|
1487
1487
|
Whether to work in the finite molecular picture (usually with atomic orbital basis)
|
|
1488
1488
|
"""
|
|
1489
|
-
consistencyChecks: Optional[List[
|
|
1489
|
+
consistencyChecks: Optional[List[MaterialConsistencyCheckSchema7]] = None
|
|
1490
1490
|
field_id: Optional[str] = Field(None, alias="_id")
|
|
1491
1491
|
"""
|
|
1492
1492
|
entity identity
|
|
@@ -1518,16 +1518,20 @@ class PairDefectSchema(BaseModel):
|
|
|
1518
1518
|
"""
|
|
1519
1519
|
Configuration for point defects that require a crystal reference
|
|
1520
1520
|
"""
|
|
1521
|
-
point_defect_configuration_2: Optional[
|
|
1521
|
+
point_defect_configuration_2: Optional[PointDefectConfigurationSchema1] = Field(
|
|
1522
1522
|
None, title="Point Defect Configuration Schema"
|
|
1523
1523
|
)
|
|
1524
1524
|
"""
|
|
1525
1525
|
Configuration for point defects that require a crystal reference
|
|
1526
1526
|
"""
|
|
1527
|
-
host: Optional[
|
|
1527
|
+
host: Optional[MaterialSchema7] = None
|
|
1528
1528
|
"""
|
|
1529
1529
|
The base host for the defect
|
|
1530
1530
|
"""
|
|
1531
|
+
use_cartesian_coordinates: Optional[bool] = False
|
|
1532
|
+
"""
|
|
1533
|
+
Whether to use Cartesian coordinates
|
|
1534
|
+
"""
|
|
1531
1535
|
isExternal: Optional[bool] = False
|
|
1532
1536
|
"""
|
|
1533
1537
|
Whether the defect is external to the host material
|