mat3ra-esse 2025.6.5.post0__py3-none-any.whl → 2025.6.14.post0__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.

Files changed (37) hide show
  1. mat3ra/esse/data/examples.py +1 -1
  2. mat3ra/esse/data/schemas.py +1 -1
  3. mat3ra/esse/models/apse/file/applications/espresso/7.2/pw_x.py +6 -6
  4. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/selector_parameters.py +1 -1
  5. mat3ra/esse/models/material/reusable/slab/termination.py +1 -1
  6. mat3ra/esse/models/material/reusable/slab_configuration_with_termination.py +1 -1
  7. mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +1 -1
  8. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/configuration.py +2 -2
  9. mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +1 -1
  10. mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/slab.py +428 -15
  11. mat3ra/esse/models/materials_category_components/entities/auxiliary/two_dimensional/termination.py +1 -1
  12. mat3ra/esse/models/materials_category_components/entities/core/two_dimensional/vacuum.py +526 -2
  13. mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.py +14 -14
  14. mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/strained_uniform.py +14 -14
  15. mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/supercell.py +14 -14
  16. mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/atomic_layers.py +1 -1
  17. mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.py +1 -1
  18. mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.py +1 -1
  19. mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/slab_unit_cell.py +428 -15
  20. mat3ra/esse/models/materials_category_components/operations/core/combinations/merge.py +413 -0
  21. mat3ra/esse/models/materials_category_components/operations/core/combinations/stack.py +427 -14
  22. mat3ra/esse/models/materials_category_components/operations/core/combinations/stack_component.py +427 -14
  23. mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +2 -2
  24. mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +2 -2
  25. mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +50 -50
  26. mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +2 -2
  27. mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +2 -2
  28. mat3ra/esse/models/properties_directory/scalar/surface_energy.py +2 -2
  29. mat3ra/esse/models/properties_directory/scalar/total_energy.py +2 -2
  30. mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +2 -2
  31. mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +2 -2
  32. mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
  33. {mat3ra_esse-2025.6.5.post0.dist-info → mat3ra_esse-2025.6.14.post0.dist-info}/METADATA +1 -1
  34. {mat3ra_esse-2025.6.5.post0.dist-info → mat3ra_esse-2025.6.14.post0.dist-info}/RECORD +37 -37
  35. {mat3ra_esse-2025.6.5.post0.dist-info → mat3ra_esse-2025.6.14.post0.dist-info}/WHEEL +0 -0
  36. {mat3ra_esse-2025.6.5.post0.dist-info → mat3ra_esse-2025.6.14.post0.dist-info}/licenses/LICENSE.md +0 -0
  37. {mat3ra_esse-2025.6.5.post0.dist-info → mat3ra_esse-2025.6.14.post0.dist-info}/top_level.txt +0 -0
@@ -536,6 +536,415 @@ class AxisEnum(Enum):
536
536
  z = "z"
537
537
 
538
538
 
539
+ class Value26(Enum):
540
+ H = "H"
541
+ He = "He"
542
+ Li = "Li"
543
+ Be = "Be"
544
+ B = "B"
545
+ C = "C"
546
+ N = "N"
547
+ O = "O"
548
+ F = "F"
549
+ Ne = "Ne"
550
+ Na = "Na"
551
+ Mg = "Mg"
552
+ Al = "Al"
553
+ Si = "Si"
554
+ P = "P"
555
+ S = "S"
556
+ Cl = "Cl"
557
+ Ar = "Ar"
558
+ K = "K"
559
+ Ca = "Ca"
560
+ Sc = "Sc"
561
+ Ti = "Ti"
562
+ V = "V"
563
+ Cr = "Cr"
564
+ Mn = "Mn"
565
+ Fe = "Fe"
566
+ Co = "Co"
567
+ Ni = "Ni"
568
+ Cu = "Cu"
569
+ Zn = "Zn"
570
+ Ga = "Ga"
571
+ Ge = "Ge"
572
+ As = "As"
573
+ Se = "Se"
574
+ Br = "Br"
575
+ Kr = "Kr"
576
+ Rb = "Rb"
577
+ Sr = "Sr"
578
+ Y = "Y"
579
+ Zr = "Zr"
580
+ Nb = "Nb"
581
+ Mo = "Mo"
582
+ Tc = "Tc"
583
+ Ru = "Ru"
584
+ Rh = "Rh"
585
+ Pd = "Pd"
586
+ Ag = "Ag"
587
+ Cd = "Cd"
588
+ In = "In"
589
+ Sn = "Sn"
590
+ Sb = "Sb"
591
+ Te = "Te"
592
+ I = "I"
593
+ Xe = "Xe"
594
+ Cs = "Cs"
595
+ Ba = "Ba"
596
+ La = "La"
597
+ Ce = "Ce"
598
+ Pr = "Pr"
599
+ Nd = "Nd"
600
+ Pm = "Pm"
601
+ Sm = "Sm"
602
+ Eu = "Eu"
603
+ Gd = "Gd"
604
+ Tb = "Tb"
605
+ Dy = "Dy"
606
+ Ho = "Ho"
607
+ Er = "Er"
608
+ Tm = "Tm"
609
+ Yb = "Yb"
610
+ Lu = "Lu"
611
+ Hf = "Hf"
612
+ Ta = "Ta"
613
+ W = "W"
614
+ Re = "Re"
615
+ Os = "Os"
616
+ Ir = "Ir"
617
+ Pt = "Pt"
618
+ Au = "Au"
619
+ Hg = "Hg"
620
+ Tl = "Tl"
621
+ Pb = "Pb"
622
+ Bi = "Bi"
623
+ Po = "Po"
624
+ At = "At"
625
+ Rn = "Rn"
626
+ Fr = "Fr"
627
+ Ra = "Ra"
628
+ Ac = "Ac"
629
+ Th = "Th"
630
+ Pa = "Pa"
631
+ U = "U"
632
+ Np = "Np"
633
+ Pu = "Pu"
634
+ Am = "Am"
635
+ Cm = "Cm"
636
+ Bk = "Bk"
637
+ Cf = "Cf"
638
+ Es = "Es"
639
+ Fm = "Fm"
640
+ Md = "Md"
641
+ No = "No"
642
+ Lr = "Lr"
643
+ Rf = "Rf"
644
+ Db = "Db"
645
+ Sg = "Sg"
646
+ Bh = "Bh"
647
+ Hs = "Hs"
648
+ Mt = "Mt"
649
+ Ds = "Ds"
650
+ Rg = "Rg"
651
+ Cn = "Cn"
652
+ Nh = "Nh"
653
+ Fl = "Fl"
654
+ Mc = "Mc"
655
+ Lv = "Lv"
656
+ Ts = "Ts"
657
+ Og = "Og"
658
+
659
+
660
+ class Value27(Enum):
661
+ X = "X"
662
+ Vac = "Vac"
663
+
664
+
665
+ class AtomicElementSchema11(BaseModel):
666
+ value: Union[Value26, Value27]
667
+ """
668
+ All elements, including extra elements
669
+ """
670
+ id: int
671
+ """
672
+ integer id of this entry
673
+ """
674
+
675
+
676
+ class BasisSchema9(BaseModel):
677
+ elements: List[AtomicElementSchema11] = Field(..., title="atomic elements schema")
678
+ """
679
+ atomic elements schema
680
+ """
681
+ coordinates: List[AtomicCoordinateSchema] = Field(..., title="atomic coordinates schema")
682
+ """
683
+ atomic coordinates schema
684
+ """
685
+ units: Optional[BasisUnitsEnum] = Field("crystal", title="basis units enum")
686
+ labels: Optional[List[AtomicLabelSchema]] = Field(None, title="atomic labels schema")
687
+ """
688
+ atomic labels schema
689
+ """
690
+
691
+
692
+ class LatticeVectorsSchema9(BaseModel):
693
+ a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
694
+ b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
695
+ c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
696
+ alat: Optional[float] = 1
697
+ """
698
+ lattice parameter for fractional coordinates
699
+ """
700
+ units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
701
+
702
+
703
+ class LatticeUnitsSchema10(BaseModel):
704
+ length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
705
+ angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
706
+
707
+
708
+ class LatticeSchema9(BaseModel):
709
+ a: float
710
+ """
711
+ length of the first lattice vector
712
+ """
713
+ b: float
714
+ """
715
+ length of the second lattice vector
716
+ """
717
+ c: float
718
+ """
719
+ length of the third lattice vector
720
+ """
721
+ alpha: float
722
+ """
723
+ angle between first and second lattice vector
724
+ """
725
+ beta: float
726
+ """
727
+ angle between second and third lattice vector
728
+ """
729
+ gamma: float
730
+ """
731
+ angle between first and third lattice vector
732
+ """
733
+ vectors: Optional[LatticeVectorsSchema9] = Field(None, title="lattice vectors schema")
734
+ type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
735
+ units: Optional[LatticeUnitsSchema10] = Field(
736
+ default_factory=lambda: LatticeUnitsSchema10.model_validate({"length": "angstrom", "angle": "degree"}),
737
+ title="Lattice units schema",
738
+ )
739
+
740
+
741
+ class Name108(Enum):
742
+ volume = "volume"
743
+
744
+
745
+ class Units59(Enum):
746
+ angstrom_3 = "angstrom^3"
747
+
748
+
749
+ class VolumeSchema9(BaseModel):
750
+ name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
751
+ units: Optional[Units59] = None
752
+ value: float
753
+
754
+
755
+ class Name109(Enum):
756
+ density = "density"
757
+
758
+
759
+ class Units60(Enum):
760
+ g_cm_3 = "g/cm^3"
761
+
762
+
763
+ class DensitySchema10(BaseModel):
764
+ name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
765
+ units: Optional[Units60] = None
766
+ value: float
767
+
768
+
769
+ class Units61(Enum):
770
+ angstrom = "angstrom"
771
+
772
+
773
+ class ScalarSchema10(BaseModel):
774
+ units: Optional[Units61] = None
775
+ value: float
776
+
777
+
778
+ class Name110(Enum):
779
+ symmetry = "symmetry"
780
+
781
+
782
+ class SymmetrySchema9(BaseModel):
783
+ pointGroupSymbol: Optional[str] = None
784
+ """
785
+ point group symbol in Schoenflies notation
786
+ """
787
+ spaceGroupSymbol: Optional[str] = None
788
+ """
789
+ space group symbol in Hermann–Mauguin notation
790
+ """
791
+ tolerance: Optional[ScalarSchema10] = Field(None, title="scalar schema")
792
+ """
793
+ tolerance used for symmetry calculation
794
+ """
795
+ name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
796
+
797
+
798
+ class Name111(Enum):
799
+ elemental_ratio = "elemental_ratio"
800
+
801
+
802
+ class ElementalRatio10(BaseModel):
803
+ name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
804
+ value: confloat(ge=0.0, le=1.0)
805
+ element: Optional[str] = None
806
+ """
807
+ the element this ratio is for
808
+ """
809
+
810
+
811
+ class Name112(Enum):
812
+ p_norm = "p-norm"
813
+
814
+
815
+ class PNorm9(BaseModel):
816
+ name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
817
+ degree: Optional[int] = None
818
+ """
819
+ degree of the dimensionality of the norm
820
+ """
821
+ value: float
822
+
823
+
824
+ class Name113(Enum):
825
+ inchi = "inchi"
826
+
827
+
828
+ class InChIRepresentationSchema10(BaseModel):
829
+ name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
830
+ value: str
831
+
832
+
833
+ class Name114(Enum):
834
+ inchi_key = "inchi_key"
835
+
836
+
837
+ class InChIKeyRepresentationSchema10(BaseModel):
838
+ name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
839
+ value: str
840
+
841
+
842
+ class DerivedPropertiesSchema10(
843
+ RootModel[
844
+ Union[
845
+ VolumeSchema9,
846
+ DensitySchema10,
847
+ SymmetrySchema9,
848
+ ElementalRatio10,
849
+ PNorm9,
850
+ InChIRepresentationSchema10,
851
+ InChIKeyRepresentationSchema10,
852
+ ]
853
+ ]
854
+ ):
855
+ root: Union[
856
+ VolumeSchema9,
857
+ DensitySchema10,
858
+ SymmetrySchema9,
859
+ ElementalRatio10,
860
+ PNorm9,
861
+ InChIRepresentationSchema10,
862
+ InChIKeyRepresentationSchema10,
863
+ ] = Field(..., discriminator="name")
864
+
865
+
866
+ class Name115(Enum):
867
+ default = "default"
868
+ atomsTooClose = "atomsTooClose"
869
+ atomsOverlap = "atomsOverlap"
870
+
871
+
872
+ class MaterialConsistencyCheckSchema9(BaseModel):
873
+ name: Name115
874
+ """
875
+ Name of the consistency check that is performed, which is listed in an enum.
876
+ """
877
+ key: str
878
+ """
879
+ Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
880
+ """
881
+ severity: Severity
882
+ """
883
+ Severity level of the problem, which is used in UI to differentiate.
884
+ """
885
+ message: str
886
+ """
887
+ Message generated by the consistency check describing the problem.
888
+ """
889
+
890
+
891
+ class CrystalSchema6(BaseModel):
892
+ formula: Optional[str] = None
893
+ """
894
+ reduced chemical formula
895
+ """
896
+ unitCellFormula: Optional[str] = None
897
+ """
898
+ chemical formula based on the number of atoms of each element in the supercell
899
+ """
900
+ basis: BasisSchema9 = Field(..., title="basis schema")
901
+ lattice: LatticeSchema9 = Field(..., title="lattice schema")
902
+ derivedProperties: Optional[List[DerivedPropertiesSchema10]] = Field(None, title="derived properties schema")
903
+ external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
904
+ """
905
+ information about a database source
906
+ """
907
+ src: Optional[FileSourceSchema] = Field(None, title="file source schema")
908
+ """
909
+ file source with the information inside
910
+ """
911
+ scaledHash: Optional[str] = None
912
+ """
913
+ Hash string for a scaled structure with lattice vector a set to 1 (eg. for materials under pressure).
914
+ """
915
+ icsdId: Optional[int] = None
916
+ """
917
+ Corresponding ICSD id of the material
918
+ """
919
+ isNonPeriodic: Optional[bool] = None
920
+ """
921
+ Whether to work in the finite molecular picture (usually with atomic orbital basis)
922
+ """
923
+ consistencyChecks: Optional[List[MaterialConsistencyCheckSchema9]] = None
924
+ field_id: Optional[str] = Field(None, alias="_id")
925
+ """
926
+ entity identity
927
+ """
928
+ slug: Optional[str] = None
929
+ """
930
+ entity slug
931
+ """
932
+ systemName: Optional[str] = None
933
+ schemaVersion: Optional[str] = "2022.8.16"
934
+ """
935
+ entity's schema version. Used to distinct between different schemas.
936
+ """
937
+ name: Optional[str] = None
938
+ """
939
+ entity name
940
+ """
941
+ isDefault: Optional[bool] = False
942
+ """
943
+ Identifies that entity is defaultable
944
+ """
945
+ metadata: Optional[Dict[str, Any]] = None
946
+
947
+
539
948
  class VacuumConfigurationSchema(BaseModel):
540
949
  direction: AxisEnum = Field(..., title="Axis Enum")
541
950
  """
@@ -545,6 +954,10 @@ class VacuumConfigurationSchema(BaseModel):
545
954
  """
546
955
  Size of the vacuum slab in angstroms
547
956
  """
957
+ crystal: CrystalSchema6 = Field(..., title="Crystal Schema")
958
+ """
959
+ A crystal structure, referencing the base material schema
960
+ """
548
961
 
549
962
 
550
963
  class CoordinateShapeEnum(Enum):