nomad-parser-plugins-workflow 1.0__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.
Files changed (58) hide show
  1. nomad_parser_plugins_workflow-1.0.dist-info/LICENSE +202 -0
  2. nomad_parser_plugins_workflow-1.0.dist-info/METADATA +319 -0
  3. nomad_parser_plugins_workflow-1.0.dist-info/RECORD +58 -0
  4. nomad_parser_plugins_workflow-1.0.dist-info/WHEEL +5 -0
  5. nomad_parser_plugins_workflow-1.0.dist-info/entry_points.txt +11 -0
  6. nomad_parser_plugins_workflow-1.0.dist-info/top_level.txt +1 -0
  7. workflowparsers/__init__.py +314 -0
  8. workflowparsers/aflow/__init__.py +19 -0
  9. workflowparsers/aflow/__main__.py +31 -0
  10. workflowparsers/aflow/metainfo/__init__.py +19 -0
  11. workflowparsers/aflow/metainfo/aflow.py +1240 -0
  12. workflowparsers/aflow/parser.py +741 -0
  13. workflowparsers/asr/__init__.py +19 -0
  14. workflowparsers/asr/__main__.py +31 -0
  15. workflowparsers/asr/metainfo/__init__.py +19 -0
  16. workflowparsers/asr/metainfo/asr.py +306 -0
  17. workflowparsers/asr/parser.py +266 -0
  18. workflowparsers/atomate/__init__.py +19 -0
  19. workflowparsers/atomate/__main__.py +31 -0
  20. workflowparsers/atomate/metainfo/__init__.py +19 -0
  21. workflowparsers/atomate/metainfo/atomate.py +395 -0
  22. workflowparsers/atomate/parser.py +357 -0
  23. workflowparsers/elastic/__init__.py +19 -0
  24. workflowparsers/elastic/__main__.py +31 -0
  25. workflowparsers/elastic/metainfo/__init__.py +19 -0
  26. workflowparsers/elastic/metainfo/elastic.py +364 -0
  27. workflowparsers/elastic/parser.py +798 -0
  28. workflowparsers/fhivibes/__init__.py +19 -0
  29. workflowparsers/fhivibes/__main__.py +31 -0
  30. workflowparsers/fhivibes/metainfo/__init__.py +19 -0
  31. workflowparsers/fhivibes/metainfo/fhi_vibes.py +898 -0
  32. workflowparsers/fhivibes/parser.py +566 -0
  33. workflowparsers/lobster/__init__.py +19 -0
  34. workflowparsers/lobster/__main__.py +31 -0
  35. workflowparsers/lobster/metainfo/__init__.py +19 -0
  36. workflowparsers/lobster/metainfo/lobster.py +446 -0
  37. workflowparsers/lobster/parser.py +618 -0
  38. workflowparsers/phonopy/__init__.py +19 -0
  39. workflowparsers/phonopy/__main__.py +31 -0
  40. workflowparsers/phonopy/calculator.py +260 -0
  41. workflowparsers/phonopy/metainfo/__init__.py +19 -0
  42. workflowparsers/phonopy/metainfo/phonopy.py +83 -0
  43. workflowparsers/phonopy/parser.py +583 -0
  44. workflowparsers/quantum_espresso_epw/__init__.py +19 -0
  45. workflowparsers/quantum_espresso_epw/__main__.py +31 -0
  46. workflowparsers/quantum_espresso_epw/metainfo/__init__.py +19 -0
  47. workflowparsers/quantum_espresso_epw/metainfo/quantum_espresso_epw.py +579 -0
  48. workflowparsers/quantum_espresso_epw/parser.py +583 -0
  49. workflowparsers/quantum_espresso_phonon/__init__.py +19 -0
  50. workflowparsers/quantum_espresso_phonon/__main__.py +31 -0
  51. workflowparsers/quantum_espresso_phonon/metainfo/__init__.py +19 -0
  52. workflowparsers/quantum_espresso_phonon/metainfo/quantum_espresso_phonon.py +389 -0
  53. workflowparsers/quantum_espresso_phonon/parser.py +483 -0
  54. workflowparsers/quantum_espresso_xspectra/__init__.py +19 -0
  55. workflowparsers/quantum_espresso_xspectra/__main__.py +31 -0
  56. workflowparsers/quantum_espresso_xspectra/metainfo/__init__.py +19 -0
  57. workflowparsers/quantum_espresso_xspectra/metainfo/quantum_espresso_xspectra.py +290 -0
  58. workflowparsers/quantum_espresso_xspectra/parser.py +586 -0
@@ -0,0 +1,446 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD. See https://nomad-lab.eu for further info.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ import numpy as np
20
+
21
+ from nomad.metainfo import (
22
+ Section,
23
+ Quantity,
24
+ MSection,
25
+ SubSection,
26
+ SectionProxy,
27
+ Package,
28
+ )
29
+ import runschema.run # pylint: disable=unused-import
30
+ import runschema.calculation # pylint: disable=unused-import
31
+ import runschema.method # pylint: disable=unused-import
32
+ import runschema.system # pylint: disable=unused-import
33
+
34
+
35
+ m_package = Package()
36
+
37
+
38
+ class Calculation(runschema.calculation.Calculation):
39
+ m_def = Section(validate=False, extends_base_section=True)
40
+
41
+ x_lobster_abs_total_spilling = Quantity(
42
+ type=float,
43
+ shape=['number_of_spin_channels'],
44
+ description="""
45
+ Absolute total spilling (in all levels)
46
+ when projecting from the original wave functions into the local basis.
47
+ """,
48
+ )
49
+
50
+ x_lobster_abs_charge_spilling = Quantity(
51
+ type=float,
52
+ shape=['number_of_spin_channels'],
53
+ description="""
54
+ Absolute total spilling of density (in occupied levels)
55
+ when projecting from the original wave functions into the local basis.
56
+ """,
57
+ )
58
+
59
+ x_lobster_section_cohp = SubSection(
60
+ sub_section=SectionProxy('x_lobster_section_cohp')
61
+ )
62
+
63
+ x_lobster_section_coop = SubSection(
64
+ sub_section=SectionProxy('x_lobster_section_coop')
65
+ )
66
+
67
+ x_lobster_section_atom_projected_dos = SubSection(
68
+ sub_section=SectionProxy('x_lobster_section_atom_projected_dos'), repeats=True
69
+ )
70
+
71
+
72
+ class Method(runschema.method.Method):
73
+ m_def = Section(validate=False, extends_base_section=True)
74
+
75
+ x_lobster_code = Quantity(
76
+ type=str,
77
+ description="""
78
+ Used PAW program
79
+ """,
80
+ )
81
+
82
+
83
+ class x_lobster_section_cohp(MSection):
84
+ """
85
+ This is a section containing the crystal orbital hamilton population (COHP)
86
+ and integrated COHP (iCOHP) values.
87
+ """
88
+
89
+ m_def = Section(validate=False)
90
+
91
+ x_lobster_number_of_cohp_pairs = Quantity(
92
+ type=int,
93
+ description="""
94
+ Number of atom pairs for which are the COHPs and iCOHPs calculated.
95
+ """,
96
+ )
97
+
98
+ x_lobster_cohp_atom1_labels = Quantity(
99
+ type=str,
100
+ shape=['x_lobster_number_of_cohp_pairs'],
101
+ description="""
102
+ Species and indices of the first atom for which is the specific COHP/iCOHP calculated
103
+ """,
104
+ )
105
+
106
+ x_lobster_cohp_atom2_labels = Quantity(
107
+ type=str,
108
+ shape=['x_lobster_number_of_cohp_pairs'],
109
+ description="""
110
+ Species and indices of the second atom for which is the specific COHP/iCOHP calculated
111
+ """,
112
+ )
113
+
114
+ x_lobster_cohp_distances = Quantity(
115
+ type=np.float64,
116
+ unit='meter',
117
+ shape=['x_lobster_number_of_cohp_pairs'],
118
+ description="""
119
+ Distance between atoms of the pair for which is the specific COHP/iCOHP calculated.
120
+ """,
121
+ )
122
+
123
+ x_lobster_cohp_translations = Quantity(
124
+ type=np.int32,
125
+ shape=['x_lobster_number_of_cohp_pairs', 3],
126
+ description="""
127
+ Vector connecting the unit-cell of the first atom with the one of the second atom
128
+
129
+ This is only used with LOBSTER versions 3.0.0 and above, older versions use
130
+ x_lobster_cohp_number_of_bonds instead.
131
+ """,
132
+ )
133
+
134
+ x_lobster_integrated_cohp_at_fermi_level = Quantity(
135
+ type=np.float32,
136
+ unit='joule',
137
+ shape=['number_of_spin_channels', 'x_lobster_number_of_cohp_pairs'],
138
+ description="""
139
+ Calculated iCOHP values ingregrated up to the Fermi level.
140
+ """,
141
+ )
142
+
143
+ x_lobster_number_of_cohp_values = Quantity(
144
+ type=int,
145
+ description="""
146
+ Number of energy values for the COHP and iCOHP.
147
+ """,
148
+ )
149
+
150
+ x_lobster_cohp_energies = Quantity(
151
+ type=np.float32,
152
+ unit='joule',
153
+ shape=['x_lobster_number_of_cohp_values'],
154
+ description="""
155
+ Array containing the set of discrete energy values for COHP and iCOHP.
156
+ """,
157
+ )
158
+
159
+ x_lobster_cohp_values = Quantity(
160
+ type=np.float32,
161
+ shape=[
162
+ 'x_lobster_number_of_cohp_pairs',
163
+ 'number_of_spin_channels',
164
+ 'x_lobster_number_of_cohp_values',
165
+ ],
166
+ description="""
167
+ Calculated COHP values.
168
+ """,
169
+ )
170
+
171
+ x_lobster_integrated_cohp_values = Quantity(
172
+ type=np.float32,
173
+ unit='joule',
174
+ shape=[
175
+ 'x_lobster_number_of_cohp_pairs',
176
+ 'number_of_spin_channels',
177
+ 'x_lobster_number_of_cohp_values',
178
+ ],
179
+ description="""
180
+ Calculated iCOHP values.
181
+ """,
182
+ )
183
+
184
+ x_lobster_average_cohp_values = Quantity(
185
+ type=np.float32,
186
+ shape=['number_of_spin_channels', 'x_lobster_number_of_cohp_values'],
187
+ description="""
188
+ Calculated COHP values averaged over all pairs.
189
+ """,
190
+ )
191
+
192
+ x_lobster_average_integrated_cohp_values = Quantity(
193
+ type=np.float32,
194
+ unit='joule',
195
+ shape=['number_of_spin_channels', 'x_lobster_number_of_cohp_values'],
196
+ description="""
197
+ Calculated iCOHP values averaged over all pairs.
198
+ """,
199
+ )
200
+
201
+ x_lobster_cohp_number_of_bonds = Quantity(
202
+ type=int,
203
+ shape=['x_lobster_number_of_cohp_pairs'],
204
+ description="""
205
+ Number of bonds between first atom and the second atom (including
206
+ the periodic images).
207
+
208
+ This is only used in older LOBSTER versions, new versions print one line
209
+ for every neighbor, so a pair which had x_lobster_icohp_number_of_bonds = 4
210
+ in the old version would actually show as 4 lines in the ICOHPLIST or 4 columns
211
+ in the COPHCAR in the new format.
212
+ """,
213
+ )
214
+
215
+
216
+ class x_lobster_section_coop(MSection):
217
+ """
218
+ This is a section containing the crystal orbital hamilton population (COOP)
219
+ and integrated coop (iCOOP) values.
220
+ """
221
+
222
+ m_def = Section(validate=False)
223
+
224
+ x_lobster_number_of_coop_pairs = Quantity(
225
+ type=int,
226
+ description="""
227
+ Number of atom pairs for which are the COOPs and iCOOPs calculated.
228
+ """,
229
+ )
230
+
231
+ x_lobster_coop_atom1_labels = Quantity(
232
+ type=str,
233
+ shape=['x_lobster_number_of_coop_pairs'],
234
+ description="""
235
+ Species and indices of the first atom for which is the specific COOP/iCOOP calculated
236
+ """,
237
+ )
238
+
239
+ x_lobster_coop_atom2_labels = Quantity(
240
+ type=str,
241
+ shape=['x_lobster_number_of_coop_pairs'],
242
+ description="""
243
+ Species and indices of the second atom for which is the specific COOP/iCOOP calculated
244
+ """,
245
+ )
246
+
247
+ x_lobster_coop_distances = Quantity(
248
+ type=np.float64,
249
+ unit='meter',
250
+ shape=['x_lobster_number_of_coop_pairs'],
251
+ description="""
252
+ Distance between atoms of the pair for which is the specific COOP/iCOOP calculated.
253
+ """,
254
+ )
255
+
256
+ x_lobster_coop_translations = Quantity(
257
+ type=np.int32,
258
+ shape=['x_lobster_number_of_coop_pairs', 3],
259
+ description="""
260
+ Vector connecting the unit-cell of the first atom with the one of the second atom
261
+
262
+ This is only used with LOBSTER versions 3.0.0 and above, older versions use
263
+ x_lobster_coop_number_of_bonds instead.
264
+ """,
265
+ )
266
+
267
+ x_lobster_integrated_coop_at_fermi_level = Quantity(
268
+ type=np.float32,
269
+ unit='joule',
270
+ shape=['number_of_spin_channels', 'x_lobster_number_of_coop_pairs'],
271
+ description="""
272
+ Calculated iCOOP values ingregrated up to the Fermi level.
273
+ """,
274
+ )
275
+
276
+ x_lobster_number_of_coop_values = Quantity(
277
+ type=int,
278
+ description="""
279
+ Number of energy values for the COOP and iCOOP.
280
+ """,
281
+ )
282
+
283
+ x_lobster_coop_energies = Quantity(
284
+ type=np.float32,
285
+ unit='joule',
286
+ shape=['x_lobster_number_of_coop_values'],
287
+ description="""
288
+ Array containing the set of discrete energy values for COOP and iCOOP.
289
+ """,
290
+ )
291
+
292
+ x_lobster_coop_values = Quantity(
293
+ type=np.float32,
294
+ shape=[
295
+ 'x_lobster_number_of_coop_pairs',
296
+ 'number_of_spin_channels',
297
+ 'x_lobster_number_of_coop_values',
298
+ ],
299
+ description="""
300
+ Calculated COOP values.
301
+ """,
302
+ )
303
+
304
+ x_lobster_integrated_coop_values = Quantity(
305
+ type=np.float32,
306
+ unit='joule',
307
+ shape=[
308
+ 'x_lobster_number_of_coop_pairs',
309
+ 'number_of_spin_channels',
310
+ 'x_lobster_number_of_coop_values',
311
+ ],
312
+ description="""
313
+ Calculated iCOOP values.
314
+ """,
315
+ )
316
+
317
+ x_lobster_average_coop_values = Quantity(
318
+ type=np.float32,
319
+ shape=['number_of_spin_channels', 'x_lobster_number_of_coop_values'],
320
+ description="""
321
+ Calculated COOP values averaged over all pairs.
322
+ """,
323
+ )
324
+
325
+ x_lobster_average_integrated_coop_values = Quantity(
326
+ type=np.float32,
327
+ unit='joule',
328
+ shape=['number_of_spin_channels', 'x_lobster_number_of_coop_values'],
329
+ description="""
330
+ Calculated iCOOP values averaged over all pairs.
331
+ """,
332
+ )
333
+
334
+ x_lobster_coop_number_of_bonds = Quantity(
335
+ type=int,
336
+ shape=['x_lobster_number_of_coop_pairs'],
337
+ description="""
338
+ Number of bonds between first atom and the second atom (including
339
+ the periodic images).
340
+
341
+ This is only used in older LOBSTER versions, new versions print one line
342
+ for every neighbor, so a pair which had x_lobster_icoop_number_of_bonds = 4
343
+ in the old version would actually show as 4 lines in the ICOOPLIST or 4 columns
344
+ in the COOPCAR in the new format.
345
+ """,
346
+ )
347
+
348
+
349
+ class x_lobster_section_atom_projected_dos(MSection):
350
+ """
351
+ Section collecting the information on an atom projected density of states (DOS)
352
+ evaluation.
353
+ FIXME: this should ultimatelly go into some common section but that is not possible
354
+ right now, see: https://matsci.org/t/section-atom-projected-dos/36008
355
+ """
356
+
357
+ m_def = Section(validate=False)
358
+
359
+ x_lobster_atom_projected_dos_energies = Quantity(
360
+ type=np.float64,
361
+ shape=['x_lobster_number_of_atom_projected_dos_values'],
362
+ unit='joule',
363
+ description="""
364
+ Array containing the set of discrete energy values for the atom-projected density
365
+ (electronic-energy) of states (DOS).
366
+ """,
367
+ )
368
+
369
+ x_lobster_atom_projected_dos_lm = Quantity(
370
+ type=np.int32,
371
+ shape=['x_lobster_number_of_lm_atom_projected_dos', 2],
372
+ description="""
373
+ Tuples of $l$ and $m$ values for which x_lobster_atom_projected_dos_values_lm are given.
374
+ For the quantum number $l$ the conventional meaning of azimuthal quantum number is
375
+ always adopted. For the integer number $m$, besides the conventional use as
376
+ magnetic quantum number ($l+1$ integer values from $-l$ to $l$), a set of
377
+ different conventions is accepted (see the [m_kind wiki
378
+ page](https://gitlab.rzg.mpg.de/nomad-lab/nomad-meta-info/wikis/metainfo/m-kind).
379
+ The adopted convention is specified by atom_projected_dos_m_kind.
380
+ """,
381
+ )
382
+
383
+ x_lobster_atom_projected_dos_m_kind = Quantity(
384
+ type=str,
385
+ description="""
386
+ String describing what the integer numbers of $m$ in atom_projected_dos_lm mean.
387
+ The allowed values are listed in the [m_kind wiki
388
+ page](https://gitlab.rzg.mpg.de/nomad-lab/nomad-meta-info/wikis/metainfo/m-kind).
389
+ """,
390
+ )
391
+
392
+ x_lobster_atom_projected_dos_values_lm = Quantity(
393
+ type=np.float64,
394
+ shape=[
395
+ 'x_lobster_number_of_lm_atom_projected_dos',
396
+ 'number_of_spin_channels',
397
+ 'x_lobster_number_of_atom_projected_dos_values',
398
+ ],
399
+ description="""
400
+ Values correspond to the number of states for a given energy (the set of discrete
401
+ energy values is given in atom_projected_dos_energies) divided into contributions
402
+ from each $l,m$ channel for the atom-projected density (electronic-energy) of
403
+ states for atom specified in atom_projected_dos_atom_index.
404
+ """,
405
+ )
406
+
407
+ x_lobster_atom_projected_dos_values_total = Quantity(
408
+ type=np.float64,
409
+ shape=[
410
+ 'number_of_spin_channels',
411
+ 'x_lobster_number_of_atom_projected_dos_values',
412
+ ],
413
+ description="""
414
+ Values correspond to the number of states for a given energy (the set of discrete
415
+ energy values is given in atom_projected_dos_energies) divided into contributions
416
+ summed up over all $l$ channels for the atom-projected density (electronic-energy)
417
+ of states (DOS) for atom specified in atom_projected_dos_atom_index.
418
+ """,
419
+ )
420
+
421
+ x_lobster_number_of_atom_projected_dos_values = Quantity(
422
+ type=int,
423
+ description="""
424
+ Gives the number of energy values for the atom-projected density of states (DOS)
425
+ based on x_lobster_atom_projected_dos_values_lm and
426
+ x_lobster_atom_projected_dos_values_total.
427
+ """,
428
+ )
429
+
430
+ x_lobster_number_of_lm_atom_projected_dos = Quantity(
431
+ type=int,
432
+ description="""
433
+ Gives the number of $l$, $m$ combinations for the atom projected density of states
434
+ (DOS) defined in x_lobster_section_atom_projected_dos.
435
+ """,
436
+ )
437
+
438
+ x_lobster_atom_projected_dos_atom_index = Quantity(
439
+ type=int,
440
+ description="""
441
+ Index of atom for which is the x_lobster_atom_projected_dos provided.
442
+ """,
443
+ )
444
+
445
+
446
+ m_package.__init_metainfo__()