mat3ra-esse 2025.6.14.post0__py3-none-any.whl → 2025.7.1.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 (118) hide show
  1. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/METADATA +2 -2
  2. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/RECORD +5 -118
  3. mat3ra/esse/models/coordinates_shape_enum.py +0 -15
  4. mat3ra/esse/models/core/abstract/2d_data.py +0 -17
  5. mat3ra/esse/models/core/abstract/2d_plot.py +0 -34
  6. mat3ra/esse/models/core/abstract/3d_grid.py +0 -14
  7. mat3ra/esse/models/core/abstract/3d_tensor.py +0 -19
  8. mat3ra/esse/models/core/abstract/3d_vector_basis.py +0 -15
  9. mat3ra/esse/models/core/abstract/_3d_tensor.py +0 -19
  10. mat3ra/esse/models/core/abstract/_3d_vector_basis.py +0 -15
  11. mat3ra/esse/models/core/abstract/point.py +0 -13
  12. mat3ra/esse/models/core/abstract/vector.py +0 -13
  13. mat3ra/esse/models/core/primitive/1d_data_series.py +0 -13
  14. mat3ra/esse/models/core/primitive/3d_lattice.py +0 -34
  15. mat3ra/esse/models/core/primitive/_3d_lattice.py +0 -34
  16. mat3ra/esse/models/core/reusable/accuracy_level.py +0 -27
  17. mat3ra/esse/models/core/reusable/atomic_strings.py +0 -24
  18. mat3ra/esse/models/core/reusable/coordinate_conditions/cylinder.py +0 -26
  19. mat3ra/esse/models/core/reusable/coordinate_conditions/plane.py +0 -24
  20. mat3ra/esse/models/core/reusable/coordinate_conditions/sphere.py +0 -24
  21. mat3ra/esse/models/core/reusable/coordinate_conditions/triangular_prism.py +0 -27
  22. mat3ra/esse/models/core/reusable/energy_accuracy_levels/__init__.py +0 -3
  23. mat3ra/esse/models/core/reusable/energy_accuracy_levels.py +0 -31
  24. mat3ra/esse/models/enums/__init__.py +0 -3
  25. mat3ra/esse/models/enums/chemical_elements.py +0 -13
  26. mat3ra/esse/models/material/builders/base/__init__.py +0 -3
  27. mat3ra/esse/models/material/builders/base/selector_parameters.py +0 -16
  28. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/__init__.py +0 -3
  29. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/builder_parameters.py +0 -28
  30. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/selector_parameters.py +0 -151
  31. mat3ra/esse/models/material/reusable/__init__.py +0 -3
  32. mat3ra/esse/models/material/reusable/coordinate_conditions/__init__.py +0 -3
  33. mat3ra/esse/models/material/reusable/coordinate_conditions/base.py +0 -21
  34. mat3ra/esse/models/material/reusable/coordinate_conditions/box.py +0 -24
  35. mat3ra/esse/models/material/reusable/coordinate_conditions/cylinder.py +0 -26
  36. mat3ra/esse/models/material/reusable/coordinate_conditions/plane.py +0 -24
  37. mat3ra/esse/models/material/reusable/coordinate_conditions/sphere.py +0 -24
  38. mat3ra/esse/models/material/reusable/coordinate_conditions/triangular_prism.py +0 -27
  39. mat3ra/esse/models/material/reusable/repetitions.py +0 -25
  40. mat3ra/esse/models/material/reusable/slab/__init__.py +0 -3
  41. mat3ra/esse/models/material/reusable/slab/enums/__init__.py +0 -3
  42. mat3ra/esse/models/material/reusable/slab/enums/exposed_face.py +0 -13
  43. mat3ra/esse/models/material/reusable/slab/enums.py +0 -13
  44. mat3ra/esse/models/material/reusable/slab/miller_indices.py +0 -16
  45. mat3ra/esse/models/material/reusable/slab/number_of_layers.py +0 -16
  46. mat3ra/esse/models/material/reusable/slab/slab_configuration_with_termination.py +0 -589
  47. mat3ra/esse/models/material/reusable/slab/slab_with_termination.py +0 -593
  48. mat3ra/esse/models/material/reusable/slab/termination.py +0 -144
  49. mat3ra/esse/models/material/reusable/slab/two_slabs_stack.py +0 -618
  50. mat3ra/esse/models/material/reusable/slab/vacuum.py +0 -16
  51. mat3ra/esse/models/material/reusable/slab_configuration_with_termination.py +0 -712
  52. mat3ra/esse/models/material/reusable/stack/__init__.py +0 -3
  53. mat3ra/esse/models/material/reusable/stack/slab_configuration_with_termination.py +0 -593
  54. mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +0 -720
  55. mat3ra/esse/models/material/reusable/stack/stack_of_slabs.py +0 -737
  56. mat3ra/esse/models/material/reusable/stack/stack_of_two_slabs.py +0 -737
  57. mat3ra/esse/models/material/reusable/supercell/__init__.py +0 -3
  58. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_2d.py +0 -25
  59. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_3d.py +0 -27
  60. mat3ra/esse/models/material/reusable/supercell_matrix_2d.py +0 -25
  61. mat3ra/esse/models/material/reusable/supercell_matrix_3d.py +0 -27
  62. mat3ra/esse/models/materials_category/defects/__init__.py +0 -3
  63. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/__init__.py +0 -3
  64. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/configuration.py +0 -672
  65. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/__init__.py +0 -3
  66. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/configuration.py +0 -549
  67. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/__init__.py +0 -3
  68. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/configuration.py +0 -550
  69. mat3ra/esse/models/materials_category/defects/configuration.py +0 -545
  70. mat3ra/esse/models/materials_category/defects/enums/__init__.py +0 -3
  71. mat3ra/esse/models/materials_category/defects/enums/point_defect_type.py +0 -13
  72. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/__init__.py +0 -3
  73. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +0 -563
  74. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/__init__.py +0 -3
  75. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/configuration.py +0 -1200
  76. mat3ra/esse/models/materials_category/defects/two_dimensional/island/__init__.py +0 -3
  77. mat3ra/esse/models/materials_category/defects/two_dimensional/island/condition_json.py +0 -28
  78. mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +0 -564
  79. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/__init__.py +0 -3
  80. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/configuration.py +0 -1538
  81. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/__init__.py +0 -3
  82. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +0 -672
  83. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/__init__.py +0 -3
  84. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/configuration.py +0 -672
  85. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/__init__.py +0 -3
  86. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/configuration.py +0 -672
  87. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/__init__.py +0 -3
  88. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/configuration.py +0 -672
  89. mat3ra/esse/models/materials_category/multi_material/interfaces/__init__.py +0 -3
  90. mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +0 -737
  91. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/__init__.py +0 -3
  92. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +0 -567
  93. mat3ra/esse/models/methods_directory/physical/psp/file/__init__.py +0 -129
  94. mat3ra/esse/models/methods_directory/physical/psp/file_data_item/__init__.py +0 -111
  95. mat3ra/esse/models/properties_directory/structural/lattice/lattice_bravais.py +0 -74
  96. mat3ra/esse/models/property/base/__init__.py +0 -200
  97. mat3ra/esse/models/property/meta/__init__.py +0 -200
  98. mat3ra/esse/models/property/raw/__init__.py +0 -200
  99. mat3ra/esse/models/property/source/__init__.py +0 -150
  100. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/__init__.py +0 -3
  101. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/atoms.py +0 -41
  102. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/db_entry.py +0 -55
  103. mat3ra/esse/models/third_party/file/applications/espresso/7.2/__init__.py +0 -3
  104. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/__init__.py +0 -3
  105. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_positions.py +0 -51
  106. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_species.py +0 -34
  107. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell.py +0 -111
  108. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell_parameters.py +0 -36
  109. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/control.py +0 -169
  110. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/electrons.py +0 -139
  111. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/hubbard.py +0 -194
  112. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/ions.py +0 -422
  113. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/k_points.py +0 -73
  114. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/system.py +0 -841
  115. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw_x.py +0 -1990
  116. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/WHEEL +0 -0
  117. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/licenses/LICENSE.md +0 -0
  118. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/top_level.txt +0 -0
@@ -1,200 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: property/raw.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import Any, Dict, List, Optional
9
-
10
- from pydantic import BaseModel, Field
11
-
12
- from ..The_source_of_a_property import (
13
- field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc,
14
- )
15
-
16
-
17
- class Type(Enum):
18
- experiment = "experiment"
19
-
20
-
21
- class ExperimentAuthorSchema(BaseModel):
22
- first: str
23
- middle: Optional[str] = None
24
- last: str
25
- affiliation: Optional[str] = None
26
-
27
-
28
- class ScalarItem(BaseModel):
29
- value: Optional[str] = None
30
-
31
-
32
- class ConditionSchema(BaseModel):
33
- units: Optional[str] = None
34
- """
35
- condition unit
36
- """
37
- scalar: Optional[List[ScalarItem]] = None
38
- """
39
- array of condition values
40
- """
41
- name: str
42
- """
43
- human-readable name of the condition
44
- """
45
-
46
-
47
- class LocationSchema(BaseModel):
48
- latitude: float
49
- """
50
- location latitude
51
- """
52
- longitude: float
53
- """
54
- location longitude
55
- """
56
-
57
-
58
- class Type67(Enum):
59
- literature = "literature"
60
-
61
-
62
- class PagesSchema(BaseModel):
63
- start: str
64
- end: Optional[str] = None
65
-
66
-
67
- class LiteratureReferenceSchema(BaseModel):
68
- type: Optional[Type67] = None
69
- doi: Optional[str] = None
70
- """
71
- Digital Object Identifier of the reference.
72
- """
73
- isbn: Optional[str] = None
74
- """
75
- International Standard Book Number of the reference.
76
- """
77
- issn: Optional[str] = None
78
- """
79
- International Standard Serial Number of the reference.
80
- """
81
- url: Optional[str] = None
82
- """
83
- Internet address of the reference.
84
- """
85
- title: Optional[str] = None
86
- """
87
- Title of the work.
88
- """
89
- publisher: Optional[str] = None
90
- """
91
- Publisher of the work.
92
- """
93
- journal: Optional[str] = None
94
- """
95
- Journal in which the work appeared.
96
- """
97
- volume: Optional[str] = None
98
- """
99
- Volume of the series in which the work appeared.
100
- """
101
- year: Optional[str] = None
102
- """
103
- Year in which the reference was published.
104
- """
105
- issue: Optional[str] = None
106
- """
107
- Issue of the collection in which the work appeared.
108
- """
109
- pages: Optional[PagesSchema] = Field(None, title="pages schema")
110
- """
111
- Start and end pages of the work.
112
- """
113
- authors: Optional[List[ExperimentAuthorSchema]] = None
114
- """
115
- List of authors of the work.
116
- """
117
- editors: Optional[List[ExperimentAuthorSchema]] = None
118
- """
119
- List of editors of the work.
120
- """
121
- reference: Optional[List[Dict[str, Any]]] = None
122
- """
123
- References cited by the work. Reference objects can nest as deeply as needed. This is useful, for example, when tracking the history of a value referenced in a scholarly article; the top level reference would contain information about where the data was accessed while the nested reference would contain information about where it was originally published.
124
- """
125
-
126
-
127
- class InfoForCharacteristicObtainedByExperiment(BaseModel):
128
- type: Optional[Type] = None
129
- authors: List[ExperimentAuthorSchema]
130
- """
131
- experiment authors
132
- """
133
- title: str
134
- """
135
- experiment title
136
- """
137
- method: str
138
- """
139
- method used in experiment
140
- """
141
- conditions: List[ConditionSchema]
142
- location: Optional[LocationSchema] = Field(None, title="location schema")
143
- timestamp: float
144
- """
145
- epoch time.
146
- """
147
- note: Optional[str] = None
148
- """
149
- Note about experiment
150
- """
151
- references: Optional[List[LiteratureReferenceSchema]] = None
152
- """
153
- references to literature articles
154
- """
155
-
156
-
157
- class SystemTag(Enum):
158
- isRefined = "isRefined"
159
- isBest = "isBest"
160
-
161
-
162
- class SchemaOfMaterialSPreliminaryProperty(BaseModel):
163
- slug: Optional[str] = None
164
- """
165
- property slug, e.g. total_energy
166
- """
167
- group: Optional[str] = None
168
- """
169
- property group, e.g. qe:dft:gga:pbe
170
- """
171
- data: Dict[str, Any]
172
- """
173
- container of the information, specific to each property
174
- """
175
- source: field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.Field = Field(
176
- ...,
177
- title="The source of a property. This could be an article, a simulation on Exabyte, an external simulation, etc.",
178
- )
179
- exabyteId: Optional[List[str]] = None
180
- """
181
- Id of the corresponding item in the entity bank that this property is obtained for
182
- """
183
- precision: Optional[Dict[str, Any]] = None
184
- count: Optional[float] = None
185
- """
186
- total number of properties among which this property is the best.
187
- """
188
- systemTags: Optional[List[SystemTag]] = None
189
- """
190
- property system tags, marks property system characteristics, values refined or best (could be both)
191
- """
192
- field_id: Optional[str] = Field(None, alias="_id")
193
- """
194
- entity identity
195
- """
196
- systemName: Optional[str] = None
197
- schemaVersion: Optional[str] = "2022.8.16"
198
- """
199
- entity's schema version. Used to distinct between different schemas.
200
- """
@@ -1,150 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: property/source.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import Any, Dict, List, Optional
9
-
10
- from pydantic import BaseModel, Field
11
-
12
-
13
- class Type(Enum):
14
- experiment = "experiment"
15
-
16
-
17
- class ExperimentAuthorSchema(BaseModel):
18
- first: str
19
- middle: Optional[str] = None
20
- last: str
21
- affiliation: Optional[str] = None
22
-
23
-
24
- class ScalarItem(BaseModel):
25
- value: Optional[str] = None
26
-
27
-
28
- class ConditionSchema(BaseModel):
29
- units: Optional[str] = None
30
- """
31
- condition unit
32
- """
33
- scalar: Optional[List[ScalarItem]] = None
34
- """
35
- array of condition values
36
- """
37
- name: str
38
- """
39
- human-readable name of the condition
40
- """
41
-
42
-
43
- class LocationSchema(BaseModel):
44
- latitude: float
45
- """
46
- location latitude
47
- """
48
- longitude: float
49
- """
50
- location longitude
51
- """
52
-
53
-
54
- class Type78(Enum):
55
- literature = "literature"
56
-
57
-
58
- class PagesSchema(BaseModel):
59
- start: str
60
- end: Optional[str] = None
61
-
62
-
63
- class LiteratureReferenceSchema(BaseModel):
64
- type: Optional[Type78] = None
65
- doi: Optional[str] = None
66
- """
67
- Digital Object Identifier of the reference.
68
- """
69
- isbn: Optional[str] = None
70
- """
71
- International Standard Book Number of the reference.
72
- """
73
- issn: Optional[str] = None
74
- """
75
- International Standard Serial Number of the reference.
76
- """
77
- url: Optional[str] = None
78
- """
79
- Internet address of the reference.
80
- """
81
- title: Optional[str] = None
82
- """
83
- Title of the work.
84
- """
85
- publisher: Optional[str] = None
86
- """
87
- Publisher of the work.
88
- """
89
- journal: Optional[str] = None
90
- """
91
- Journal in which the work appeared.
92
- """
93
- volume: Optional[str] = None
94
- """
95
- Volume of the series in which the work appeared.
96
- """
97
- year: Optional[str] = None
98
- """
99
- Year in which the reference was published.
100
- """
101
- issue: Optional[str] = None
102
- """
103
- Issue of the collection in which the work appeared.
104
- """
105
- pages: Optional[PagesSchema] = Field(None, title="pages schema")
106
- """
107
- Start and end pages of the work.
108
- """
109
- authors: Optional[List[ExperimentAuthorSchema]] = None
110
- """
111
- List of authors of the work.
112
- """
113
- editors: Optional[List[ExperimentAuthorSchema]] = None
114
- """
115
- List of editors of the work.
116
- """
117
- reference: Optional[List[Dict[str, Any]]] = None
118
- """
119
- References cited by the work. Reference objects can nest as deeply as needed. This is useful, for example, when tracking the history of a value referenced in a scholarly article; the top level reference would contain information about where the data was accessed while the nested reference would contain information about where it was originally published.
120
- """
121
-
122
-
123
- class InfoForCharacteristicObtainedByExperiment(BaseModel):
124
- type: Optional[Type] = None
125
- authors: List[ExperimentAuthorSchema]
126
- """
127
- experiment authors
128
- """
129
- title: str
130
- """
131
- experiment title
132
- """
133
- method: str
134
- """
135
- method used in experiment
136
- """
137
- conditions: List[ConditionSchema]
138
- location: Optional[LocationSchema] = Field(None, title="location schema")
139
- timestamp: float
140
- """
141
- epoch time.
142
- """
143
- note: Optional[str] = None
144
- """
145
- Note about experiment
146
- """
147
- references: Optional[List[LiteratureReferenceSchema]] = None
148
- """
149
- references to literature articles
150
- """
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.28.5
@@ -1,41 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/db/nist_jarvis/2024.3.13/atoms.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import List, Optional
8
-
9
- from pydantic import BaseModel, ConfigDict, Field, RootModel
10
-
11
-
12
- class ArrayOf3NumberElementsSchema(RootModel[List[float]]):
13
- root: List[float] = Field(..., title="array of 3 number elements schema")
14
-
15
-
16
- class NISTJARVISAtomsSchema(BaseModel):
17
- model_config = ConfigDict(
18
- extra="forbid",
19
- )
20
- lattice_mat: Optional[List[ArrayOf3NumberElementsSchema]] = Field(None, max_length=3, min_length=3)
21
- """
22
- Crystal lattice vectors as a 3x3 matrix, in Angstroms
23
- """
24
- coords: Optional[List[ArrayOf3NumberElementsSchema]] = Field(None, min_length=1)
25
- """
26
- Atomic coordinates for each atom in the unit cell
27
- """
28
- elements: Optional[List[str]] = Field(None, min_length=1)
29
- """
30
- Atomic elements for each atom in the unit cell in the same order as `coords`
31
- """
32
- abc: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
33
- angles: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
34
- cartesian: Optional[bool] = None
35
- """
36
- True if the coordinates are in Cartesian space, false if in fractional space
37
- """
38
- props: Optional[List[str]] = None
39
- """
40
- Additional properties for each of the atoms
41
- """
@@ -1,55 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/db/nist_jarvis/2024.3.13/db_entry.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import List, Optional
8
-
9
- from pydantic import BaseModel, ConfigDict, Field, RootModel
10
-
11
-
12
- class ArrayOf3NumberElementsSchema(RootModel[List[float]]):
13
- root: List[float] = Field(..., title="array of 3 number elements schema")
14
-
15
-
16
- class NISTJARVISAtomsSchema(BaseModel):
17
- model_config = ConfigDict(
18
- extra="forbid",
19
- )
20
- lattice_mat: Optional[List[ArrayOf3NumberElementsSchema]] = Field(None, max_length=3, min_length=3)
21
- """
22
- Crystal lattice vectors as a 3x3 matrix, in Angstroms
23
- """
24
- coords: Optional[List[ArrayOf3NumberElementsSchema]] = Field(None, min_length=1)
25
- """
26
- Atomic coordinates for each atom in the unit cell
27
- """
28
- elements: Optional[List[str]] = Field(None, min_length=1)
29
- """
30
- Atomic elements for each atom in the unit cell in the same order as `coords`
31
- """
32
- abc: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
33
- angles: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
34
- cartesian: Optional[bool] = None
35
- """
36
- True if the coordinates are in Cartesian space, false if in fractional space
37
- """
38
- props: Optional[List[str]] = None
39
- """
40
- Additional properties for each of the atoms
41
- """
42
-
43
-
44
- class NISTJARVISDbEntrySchema(BaseModel):
45
- model_config = ConfigDict(
46
- extra="allow",
47
- )
48
- atoms: Optional[NISTJARVISAtomsSchema] = Field(None, title="NIST JARVIS Atoms schema")
49
- """
50
- NIST J.A.R.V.I.S. db entry `atoms` key schema. Based on https://figshare.com/articles/dataset/Monolayer_data_for_heterostructure/22344571
51
- """
52
- jid: Optional[str] = None
53
- """
54
- The id of the entry in the database, e.g. JVASP-677
55
- """
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.28.5
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.28.5
@@ -1,51 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Optional
9
-
10
- from pydantic import BaseModel, ConfigDict, Field, conint
11
-
12
-
13
- class CardOption(Enum):
14
- alat = "alat"
15
- bohr = "bohr"
16
- angstrom = "angstrom"
17
- crystal = "crystal"
18
- crystal_sg = "crystal_sg"
19
-
20
-
21
- class Value(BaseModel):
22
- model_config = ConfigDict(
23
- extra="forbid",
24
- )
25
- X: Optional[str] = None
26
- """
27
- label of the atom as specified in ATOMIC_SPECIES
28
- """
29
- x: float
30
- """
31
- atomic positions
32
- """
33
- y: float
34
- """
35
- atomic positions
36
- """
37
- z: float
38
- """
39
- atomic positions
40
- """
41
- if_pos_1_: Optional[conint(ge=0, le=1)] = Field(None, alias="if_pos(1)", title="integer one or zero")
42
- if_pos_2_: Optional[conint(ge=0, le=1)] = Field(None, alias="if_pos(2)", title="integer one or zero")
43
- if_pos_3_: Optional[conint(ge=0, le=1)] = Field(None, alias="if_pos(3)", title="integer one or zero")
44
-
45
-
46
- class AtomicPositionsSchema(BaseModel):
47
- model_config = ConfigDict(
48
- extra="forbid",
49
- )
50
- card_option: Optional[CardOption] = "alat"
51
- values: Optional[List[Value]] = None
@@ -1,34 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/atomic_species.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import List, Optional
8
-
9
- from pydantic import BaseModel, ConfigDict
10
-
11
-
12
- class Value(BaseModel):
13
- model_config = ConfigDict(
14
- extra="forbid",
15
- )
16
- X: Optional[str] = None
17
- """
18
- label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in "Xn" (e.g. Fe1) or "X_*" or "X-*" (e.g. C1, C_h; max total length cannot exceed 3 characters)
19
- """
20
- Mass_X: Optional[float] = None
21
- """
22
- mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)
23
- """
24
- PseudoPot_X: Optional[str] = None
25
- """
26
- PseudoPot_X
27
- """
28
-
29
-
30
- class AtomicSpeciesSchema(BaseModel):
31
- model_config = ConfigDict(
32
- extra="forbid",
33
- )
34
- values: Optional[List[Value]] = None
@@ -1,111 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/cell.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import Optional, Union
9
-
10
- from pydantic import BaseModel, ConfigDict, Field, RootModel
11
-
12
-
13
- class CellDofree(Enum):
14
- all = "all"
15
- ibrav = "ibrav"
16
- a = "a"
17
- b = "b"
18
- c = "c"
19
- fixa = "fixa"
20
- fixb = "fixb"
21
- fixc = "fixc"
22
- x = "x"
23
- y = "y"
24
- xy = "xy"
25
- xz = "xz"
26
- xyz = "xyz"
27
- shape = "shape"
28
- volume = "volume"
29
- field_2Dxy = "2Dxy"
30
- field_2Dshape = "2Dshape"
31
- epitaxial_ab = "epitaxial_ab"
32
- epitaxial_ac = "epitaxial_ac"
33
- epitaxial_bc = "epitaxial_bc"
34
-
35
-
36
- class CellDynamics(Enum):
37
- none = "none"
38
- sd = "sd"
39
- damp_pr = "damp-pr"
40
- damp_w = "damp-w"
41
- bfgs = "bfgs"
42
-
43
-
44
- class CellSchema(BaseModel):
45
- model_config = ConfigDict(
46
- extra="forbid",
47
- )
48
- press: Optional[float] = 0
49
- """
50
- Target pressure [KBar] in a variable-cell md or relaxation run.
51
- """
52
- wmass: Optional[float] = None
53
- """
54
- Fictitious cell mass [amu] for variable-cell simulations (both 'vc-md' and 'vc-relax'). Default: 0.75*Tot_Mass/pi**2 for Parrinello-Rahman MD; 0.75*Tot_Mass/pi**2/Omega**(2/3) for Wentzcovitch MD
55
- """
56
- cell_factor: Optional[float] = None
57
- """
58
- Used in the construction of the pseudopotential tables. It should exceed the maximum linear contraction of the cell during a simulation. Default: 2.0 for variable-cell calculations, 1.0 otherwise
59
- """
60
- press_conv_thr: Optional[float] = 0.5
61
- """
62
- Convergence threshold on the pressure for variable cell relaxation ('vc-relax' : note that the other convergence thresholds for ionic relaxation apply as well).
63
- """
64
- cell_dofree: Optional[CellDofree] = "all"
65
- """
66
- Select which of the cell parameters should be moved
67
- """
68
- cell_dynamics: Optional[CellDynamics] = "bfgs"
69
- """
70
- CASE ( calculation == 'vc-relax' )
71
- """
72
-
73
-
74
- class CellDynamics1(Enum):
75
- none = "none"
76
- pr = "pr"
77
- w = "w"
78
-
79
-
80
- class CellSchema1(BaseModel):
81
- model_config = ConfigDict(
82
- extra="forbid",
83
- )
84
- press: Optional[float] = 0
85
- """
86
- Target pressure [KBar] in a variable-cell md or relaxation run.
87
- """
88
- wmass: Optional[float] = None
89
- """
90
- Fictitious cell mass [amu] for variable-cell simulations (both 'vc-md' and 'vc-relax'). Default: 0.75*Tot_Mass/pi**2 for Parrinello-Rahman MD; 0.75*Tot_Mass/pi**2/Omega**(2/3) for Wentzcovitch MD
91
- """
92
- cell_factor: Optional[float] = None
93
- """
94
- Used in the construction of the pseudopotential tables. It should exceed the maximum linear contraction of the cell during a simulation. Default: 2.0 for variable-cell calculations, 1.0 otherwise
95
- """
96
- press_conv_thr: Optional[float] = 0.5
97
- """
98
- Convergence threshold on the pressure for variable cell relaxation ('vc-relax' : note that the other convergence thresholds for ionic relaxation apply as well).
99
- """
100
- cell_dofree: Optional[CellDofree] = "all"
101
- """
102
- Select which of the cell parameters should be moved
103
- """
104
- cell_dynamics: Optional[CellDynamics1] = None
105
- """
106
- CASE ( calculation == 'vc-md' )
107
- """
108
-
109
-
110
- class ESSE(RootModel[Union[CellSchema, CellSchema1]]):
111
- root: Union[CellSchema, CellSchema1] = Field(..., title="cell schema")
@@ -1,36 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Optional
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class CardOption(Enum):
14
- alat = "alat"
15
- bohr = "bohr"
16
- angstrom = "angstrom"
17
-
18
-
19
- class Values(BaseModel):
20
- model_config = ConfigDict(
21
- extra="forbid",
22
- )
23
- v1: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
24
- v2: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
25
- v3: Optional[List[float]] = Field(None, max_length=3, min_length=3, title="array of 3 number elements schema")
26
-
27
-
28
- class CellParametersSchema(BaseModel):
29
- model_config = ConfigDict(
30
- extra="forbid",
31
- )
32
- card_option: Optional[CardOption] = None
33
- """
34
- label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in "Xn" (e.g. Fe1) or "X_*" or "X-*" (e.g. C1, C_h; max total length cannot exceed 3 characters)
35
- """
36
- values: Optional[Values] = None