nomad-material-processing 0.0.2__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.
- nomad_material_processing/__init__.py +159 -0
- nomad_material_processing/crystal_growth.py +79 -0
- nomad_material_processing/epitaxy.py +149 -0
- nomad_material_processing/physical_vapor_deposition.py +684 -0
- nomad_material_processing/utils.py +42 -0
- nomad_material_processing-0.0.2.dist-info/LICENSE +201 -0
- nomad_material_processing-0.0.2.dist-info/METADATA +234 -0
- nomad_material_processing-0.0.2.dist-info/RECORD +10 -0
- nomad_material_processing-0.0.2.dist-info/WHEEL +5 -0
- nomad_material_processing-0.0.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,684 @@
|
|
|
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
|
+
from structlog.stdlib import (
|
|
20
|
+
BoundLogger,
|
|
21
|
+
)
|
|
22
|
+
from nomad.metainfo import (
|
|
23
|
+
Package,
|
|
24
|
+
Section,
|
|
25
|
+
SubSection,
|
|
26
|
+
Quantity,
|
|
27
|
+
MEnum,
|
|
28
|
+
)
|
|
29
|
+
from nomad.datamodel.data import (
|
|
30
|
+
ArchiveSection,
|
|
31
|
+
)
|
|
32
|
+
from nomad.datamodel.metainfo.annotations import (
|
|
33
|
+
ELNAnnotation,
|
|
34
|
+
)
|
|
35
|
+
from nomad.datamodel.metainfo.basesections import (
|
|
36
|
+
ActivityStep,
|
|
37
|
+
CompositeSystem,
|
|
38
|
+
PureSubstance,
|
|
39
|
+
ReadableIdentifiers,
|
|
40
|
+
)
|
|
41
|
+
from nomad_material_processing import (
|
|
42
|
+
SampleDeposition,
|
|
43
|
+
ThinFilmStack,
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
m_package = Package(name='Physical Vapor Deposition')
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class PVDMaterialEvaporationRate(ArchiveSection):
|
|
50
|
+
m_def = Section(
|
|
51
|
+
a_plot=dict(
|
|
52
|
+
x='process_time',
|
|
53
|
+
y='rate',
|
|
54
|
+
),
|
|
55
|
+
)
|
|
56
|
+
rate = Quantity(
|
|
57
|
+
type=float,
|
|
58
|
+
unit='mol/meter ** 2/second',
|
|
59
|
+
shape=['*'],
|
|
60
|
+
a_eln=ELNAnnotation(
|
|
61
|
+
defaultDisplayUnit='micromol/m ** 2/second',
|
|
62
|
+
),
|
|
63
|
+
)
|
|
64
|
+
process_time = Quantity(
|
|
65
|
+
type=float,
|
|
66
|
+
unit='second',
|
|
67
|
+
shape=['*'],
|
|
68
|
+
a_eln=ELNAnnotation(
|
|
69
|
+
defaultDisplayUnit='second',
|
|
70
|
+
),
|
|
71
|
+
)
|
|
72
|
+
measurement_type = Quantity(
|
|
73
|
+
type=MEnum(
|
|
74
|
+
'Assumed',
|
|
75
|
+
'Quartz Crystal Microbalance',
|
|
76
|
+
'RHEED',
|
|
77
|
+
)
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class PVDMaterialSource(ArchiveSection):
|
|
82
|
+
m_def = Section(
|
|
83
|
+
a_plot=dict(
|
|
84
|
+
x='rate/process_time',
|
|
85
|
+
y='rate/rate',
|
|
86
|
+
),
|
|
87
|
+
)
|
|
88
|
+
material = Quantity(
|
|
89
|
+
description='''
|
|
90
|
+
The material that is being evaporated.
|
|
91
|
+
''',
|
|
92
|
+
type=CompositeSystem,
|
|
93
|
+
)
|
|
94
|
+
rate = SubSection(
|
|
95
|
+
section_def=PVDMaterialEvaporationRate,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class PVDSourcePower(ArchiveSection):
|
|
100
|
+
m_def = Section(
|
|
101
|
+
a_plot=dict(
|
|
102
|
+
x='process_time',
|
|
103
|
+
y='power',
|
|
104
|
+
),
|
|
105
|
+
)
|
|
106
|
+
power = Quantity(
|
|
107
|
+
type=float,
|
|
108
|
+
unit='watt',
|
|
109
|
+
shape=['*'],
|
|
110
|
+
a_eln=ELNAnnotation(
|
|
111
|
+
defaultDisplayUnit='watt',
|
|
112
|
+
),
|
|
113
|
+
)
|
|
114
|
+
process_time = Quantity(
|
|
115
|
+
type=float,
|
|
116
|
+
unit='second',
|
|
117
|
+
shape=['*'],
|
|
118
|
+
a_eln=ELNAnnotation(
|
|
119
|
+
defaultDisplayUnit='second',
|
|
120
|
+
),
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
class PVDEvaporationSource(ArchiveSection):
|
|
125
|
+
m_def = Section(
|
|
126
|
+
a_plot=dict(
|
|
127
|
+
x='power/process_time',
|
|
128
|
+
y='power/power',
|
|
129
|
+
),
|
|
130
|
+
)
|
|
131
|
+
power = SubSection(
|
|
132
|
+
section_def=PVDSourcePower,
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PVDSource(ArchiveSection):
|
|
137
|
+
m_def = Section(
|
|
138
|
+
a_plot=[
|
|
139
|
+
dict(
|
|
140
|
+
x=[
|
|
141
|
+
'evaporation_source/power/process_time',
|
|
142
|
+
'material_source/rate/process_time',
|
|
143
|
+
],
|
|
144
|
+
y=[
|
|
145
|
+
'evaporation_source/power/power',
|
|
146
|
+
'material_source/rate/rate',
|
|
147
|
+
]
|
|
148
|
+
),
|
|
149
|
+
],
|
|
150
|
+
)
|
|
151
|
+
name = Quantity(
|
|
152
|
+
type=str,
|
|
153
|
+
description='''
|
|
154
|
+
A short and descriptive name for this source.
|
|
155
|
+
'''
|
|
156
|
+
)
|
|
157
|
+
material_source = SubSection(
|
|
158
|
+
section_def=PVDMaterialSource,
|
|
159
|
+
)
|
|
160
|
+
evaporation_source = SubSection(
|
|
161
|
+
section_def=PVDEvaporationSource,
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
class PVDSubstrateTemperature(ArchiveSection):
|
|
166
|
+
m_def = Section(
|
|
167
|
+
a_plot=dict(
|
|
168
|
+
x='process_time',
|
|
169
|
+
y='temperature',
|
|
170
|
+
),
|
|
171
|
+
)
|
|
172
|
+
temperature = Quantity(
|
|
173
|
+
type=float,
|
|
174
|
+
unit='kelvin',
|
|
175
|
+
shape=['*'],
|
|
176
|
+
a_eln=ELNAnnotation(
|
|
177
|
+
defaultDisplayUnit='celsius',
|
|
178
|
+
),
|
|
179
|
+
)
|
|
180
|
+
process_time = Quantity(
|
|
181
|
+
type=float,
|
|
182
|
+
unit='second',
|
|
183
|
+
shape=['*'],
|
|
184
|
+
a_eln=ELNAnnotation(
|
|
185
|
+
defaultDisplayUnit='second',
|
|
186
|
+
),
|
|
187
|
+
)
|
|
188
|
+
measurement_type = Quantity(
|
|
189
|
+
type=MEnum(
|
|
190
|
+
'Heater thermocouple',
|
|
191
|
+
'Pyrometer',
|
|
192
|
+
)
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
class PVDSubstrate(ArchiveSection):
|
|
197
|
+
m_def = Section(
|
|
198
|
+
a_plot=dict(
|
|
199
|
+
x='temperature/process_time',
|
|
200
|
+
y='temperature/temperature',
|
|
201
|
+
),
|
|
202
|
+
)
|
|
203
|
+
substrate = Quantity(
|
|
204
|
+
description='''
|
|
205
|
+
The thin film stack that is being evaporated on.
|
|
206
|
+
''',
|
|
207
|
+
type=ThinFilmStack,
|
|
208
|
+
)
|
|
209
|
+
temperature = SubSection(
|
|
210
|
+
section_def=PVDSubstrateTemperature,
|
|
211
|
+
)
|
|
212
|
+
heater = Quantity(
|
|
213
|
+
type=MEnum(
|
|
214
|
+
'No heating',
|
|
215
|
+
'Halogen lamp',
|
|
216
|
+
'Filament',
|
|
217
|
+
'Resistive element',
|
|
218
|
+
'CO2 laser',
|
|
219
|
+
)
|
|
220
|
+
)
|
|
221
|
+
distance_to_source = Quantity(
|
|
222
|
+
type=float,
|
|
223
|
+
unit='meter',
|
|
224
|
+
shape=['*'],
|
|
225
|
+
# a_eln=ELNAnnotation(
|
|
226
|
+
# defaultDisplayUnit='millimeter',
|
|
227
|
+
# ),
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
class PVDPressure(ArchiveSection):
|
|
232
|
+
m_def = Section(
|
|
233
|
+
a_plot=dict(
|
|
234
|
+
x='process_time',
|
|
235
|
+
y='pressure',
|
|
236
|
+
),
|
|
237
|
+
)
|
|
238
|
+
pressure = Quantity(
|
|
239
|
+
type=float,
|
|
240
|
+
unit='pascal',
|
|
241
|
+
shape=['*'],
|
|
242
|
+
a_eln=ELNAnnotation(
|
|
243
|
+
defaultDisplayUnit='millibar',
|
|
244
|
+
),
|
|
245
|
+
)
|
|
246
|
+
process_time = Quantity(
|
|
247
|
+
type=float,
|
|
248
|
+
unit='second',
|
|
249
|
+
shape=['*'],
|
|
250
|
+
a_eln=ELNAnnotation(
|
|
251
|
+
defaultDisplayUnit='second',
|
|
252
|
+
),
|
|
253
|
+
)
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
class PVDGasFlow(ArchiveSection):
|
|
257
|
+
gas = Quantity(
|
|
258
|
+
type=PureSubstance,
|
|
259
|
+
)
|
|
260
|
+
flow = Quantity(
|
|
261
|
+
type=float,
|
|
262
|
+
unit='meter ** 3 / second',
|
|
263
|
+
shape=['*'],
|
|
264
|
+
)
|
|
265
|
+
process_time = Quantity(
|
|
266
|
+
type=float,
|
|
267
|
+
unit='second',
|
|
268
|
+
shape=['*'],
|
|
269
|
+
# a_eln=ELNAnnotation(
|
|
270
|
+
# defaultDisplayUnit='second',
|
|
271
|
+
# ),
|
|
272
|
+
)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
class PVDChamberEnvironment(ArchiveSection):
|
|
276
|
+
m_def = Section(
|
|
277
|
+
a_plot=dict(
|
|
278
|
+
x='pressure/process_time',
|
|
279
|
+
y='pressure/pressure',
|
|
280
|
+
),
|
|
281
|
+
)
|
|
282
|
+
gas_flow = SubSection(
|
|
283
|
+
section_def=PVDGasFlow,
|
|
284
|
+
repeats=True,
|
|
285
|
+
)
|
|
286
|
+
pressure = SubSection(
|
|
287
|
+
section_def=PVDPressure,
|
|
288
|
+
)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
class PVDStep(ActivityStep):
|
|
292
|
+
'''
|
|
293
|
+
A step of any physical vapor deposition process.
|
|
294
|
+
'''
|
|
295
|
+
m_def = Section()
|
|
296
|
+
creates_new_thin_film = Quantity(
|
|
297
|
+
type=bool,
|
|
298
|
+
description='''
|
|
299
|
+
Whether or not this step creates a new thin film.
|
|
300
|
+
''',
|
|
301
|
+
default=False,
|
|
302
|
+
a_eln=ELNAnnotation(
|
|
303
|
+
component='BoolEditQuantity',
|
|
304
|
+
),
|
|
305
|
+
)
|
|
306
|
+
duration = Quantity(
|
|
307
|
+
type=float,
|
|
308
|
+
unit='second'
|
|
309
|
+
)
|
|
310
|
+
sources = SubSection(
|
|
311
|
+
section_def=PVDSource,
|
|
312
|
+
repeats=True,
|
|
313
|
+
)
|
|
314
|
+
substrate = SubSection(
|
|
315
|
+
section_def=PVDSubstrate,
|
|
316
|
+
repeats=True,
|
|
317
|
+
)
|
|
318
|
+
environment = SubSection(
|
|
319
|
+
section_def=PVDChamberEnvironment,
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
def normalize(self, archive, logger: BoundLogger) -> None:
|
|
323
|
+
'''
|
|
324
|
+
The normalizer for the `PVDStep` class.
|
|
325
|
+
|
|
326
|
+
Args:
|
|
327
|
+
archive (EntryArchive): The archive containing the section that is being
|
|
328
|
+
normalized.
|
|
329
|
+
logger (BoundLogger): A structlog logger.
|
|
330
|
+
'''
|
|
331
|
+
super(PVDStep, self).normalize(archive, logger)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class PhysicalVaporDeposition(SampleDeposition):
|
|
335
|
+
'''
|
|
336
|
+
A synthesis technique where vaporized molecules or atoms condense on a surface,
|
|
337
|
+
forming a thin layer. The process is purely physical; no chemical reaction occurs
|
|
338
|
+
at the surface. [database_cross_reference: https://orcid.org/0000-0002-0640-0422]
|
|
339
|
+
|
|
340
|
+
Synonyms:
|
|
341
|
+
- PVD
|
|
342
|
+
- physical vapor deposition
|
|
343
|
+
'''
|
|
344
|
+
m_def = Section(
|
|
345
|
+
links=["http://purl.obolibrary.org/obo/CHMO_0001356"],
|
|
346
|
+
a_plot=[
|
|
347
|
+
dict(
|
|
348
|
+
x='steps/:/environment/pressure/process_time',
|
|
349
|
+
y='steps/:/environment/pressure/pressure',
|
|
350
|
+
),
|
|
351
|
+
dict(
|
|
352
|
+
x='steps/:/source/:/evaporation_source/power/process_time',
|
|
353
|
+
y='steps/:/source/:/evaporation_source/power/power',
|
|
354
|
+
),
|
|
355
|
+
],
|
|
356
|
+
)
|
|
357
|
+
steps = SubSection(
|
|
358
|
+
description='''
|
|
359
|
+
The steps of the deposition process.
|
|
360
|
+
''',
|
|
361
|
+
section_def=PVDStep,
|
|
362
|
+
repeats=True,
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
def normalize(self, archive, logger: BoundLogger) -> None:
|
|
366
|
+
'''
|
|
367
|
+
The normalizer for the `PhysicalVaporDeposition` class.
|
|
368
|
+
|
|
369
|
+
Args:
|
|
370
|
+
archive (EntryArchive): The archive containing the section that is being
|
|
371
|
+
normalized.
|
|
372
|
+
logger (BoundLogger): A structlog logger.
|
|
373
|
+
'''
|
|
374
|
+
super(PhysicalVaporDeposition, self).normalize(archive, logger)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
class PLDTarget(CompositeSystem):
|
|
378
|
+
target_id = SubSection(
|
|
379
|
+
section_def = ReadableIdentifiers,
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
class PLDTargetSource(PVDMaterialSource):
|
|
384
|
+
material = Quantity(
|
|
385
|
+
description='''
|
|
386
|
+
The material that is being evaporated.
|
|
387
|
+
''',
|
|
388
|
+
type=PLDTarget,
|
|
389
|
+
a_eln=ELNAnnotation(
|
|
390
|
+
label='Target',
|
|
391
|
+
),
|
|
392
|
+
)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
class PLDLaser(PVDEvaporationSource):
|
|
396
|
+
wavelength = Quantity(
|
|
397
|
+
type=float,
|
|
398
|
+
unit='meter',
|
|
399
|
+
# a_eln=ELNAnnotation(
|
|
400
|
+
# defaultDisplayUnit='nanometer',
|
|
401
|
+
# ),
|
|
402
|
+
)
|
|
403
|
+
repetition_rate = Quantity(
|
|
404
|
+
type=float,
|
|
405
|
+
unit='hertz',
|
|
406
|
+
# a_eln=ELNAnnotation(
|
|
407
|
+
# defaultDisplayUnit='hertz',
|
|
408
|
+
# ),
|
|
409
|
+
)
|
|
410
|
+
spot_size = Quantity(
|
|
411
|
+
type=float,
|
|
412
|
+
unit='meter ** 2',
|
|
413
|
+
# a_eln=ELNAnnotation(
|
|
414
|
+
# defaultDisplayUnit='millimeter ** 2',
|
|
415
|
+
# ),
|
|
416
|
+
)
|
|
417
|
+
pulses = Quantity(
|
|
418
|
+
description='''
|
|
419
|
+
The total number of laser pulses during the deposition step.
|
|
420
|
+
''',
|
|
421
|
+
type=int,
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PLDSource(PVDSource):
|
|
426
|
+
material_source = SubSection(
|
|
427
|
+
section_def=PLDTargetSource,
|
|
428
|
+
)
|
|
429
|
+
evaporation_source = SubSection(
|
|
430
|
+
section_def=PLDLaser,
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class PLDStep(PVDStep):
|
|
435
|
+
sources = SubSection(
|
|
436
|
+
section_def=PLDSource,
|
|
437
|
+
repeats=True,
|
|
438
|
+
)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
class PulsedLaserDeposition(PhysicalVaporDeposition):
|
|
442
|
+
'''
|
|
443
|
+
A synthesis technique where a high-power pulsed laser beam is focused (inside a
|
|
444
|
+
vacuum chamber) onto a target of the desired composition. Material is then
|
|
445
|
+
vaporized from the target ('ablation') and deposited as a thin film on a
|
|
446
|
+
substrate facing the target.
|
|
447
|
+
[database_cross_reference: https://orcid.org/0000-0002-0640-0422]
|
|
448
|
+
|
|
449
|
+
Synonyms:
|
|
450
|
+
- pulsed laser ablation deposition
|
|
451
|
+
- PLD
|
|
452
|
+
- pulsed-laser ablation deposition
|
|
453
|
+
- laser ablation growth
|
|
454
|
+
- PLA deposition
|
|
455
|
+
- pulsed-laser deposition
|
|
456
|
+
'''
|
|
457
|
+
m_def = Section(
|
|
458
|
+
links=["http://purl.obolibrary.org/obo/CHMO_0001363"],
|
|
459
|
+
)
|
|
460
|
+
method = Quantity(
|
|
461
|
+
type=str,
|
|
462
|
+
default='Pulsed Laser Deposition'
|
|
463
|
+
)
|
|
464
|
+
steps = SubSection(
|
|
465
|
+
description='''
|
|
466
|
+
The steps of the deposition process.
|
|
467
|
+
''',
|
|
468
|
+
section_def=PLDStep,
|
|
469
|
+
repeats=True,
|
|
470
|
+
)
|
|
471
|
+
|
|
472
|
+
def normalize(self, archive, logger: BoundLogger) -> None:
|
|
473
|
+
'''
|
|
474
|
+
The normalizer for the `PulsedLaserDeposition` class.
|
|
475
|
+
|
|
476
|
+
Args:
|
|
477
|
+
archive (EntryArchive): The archive containing the section that is being
|
|
478
|
+
normalized.
|
|
479
|
+
logger (BoundLogger): A structlog logger.
|
|
480
|
+
'''
|
|
481
|
+
super(PulsedLaserDeposition, self).normalize(archive, logger)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
class SputterDeposition(PhysicalVaporDeposition):
|
|
485
|
+
'''
|
|
486
|
+
A synthesis technique where a solid target is bombarded with electrons or
|
|
487
|
+
energetic ions (e.g. Ar+) causing atoms to be ejected ('sputtering'). The ejected
|
|
488
|
+
atoms then deposit, as a thin-film, on a substrate.
|
|
489
|
+
[database_cross_reference: https://orcid.org/0000-0002-0640-0422]
|
|
490
|
+
|
|
491
|
+
Synonyms:
|
|
492
|
+
- sputtering
|
|
493
|
+
- sputter coating
|
|
494
|
+
'''
|
|
495
|
+
m_def = Section(
|
|
496
|
+
links=["http://purl.obolibrary.org/obo/CHMO_0001364"],
|
|
497
|
+
)
|
|
498
|
+
method = Quantity(
|
|
499
|
+
type=str,
|
|
500
|
+
default='Sputter Deposition'
|
|
501
|
+
)
|
|
502
|
+
|
|
503
|
+
def normalize(self, archive, logger: BoundLogger) -> None:
|
|
504
|
+
'''
|
|
505
|
+
The normalizer for the `SputterDeposition` class.
|
|
506
|
+
|
|
507
|
+
Args:
|
|
508
|
+
archive (EntryArchive): The archive containing the section that is being
|
|
509
|
+
normalized.
|
|
510
|
+
logger (BoundLogger): A structlog logger.
|
|
511
|
+
'''
|
|
512
|
+
super(SputterDeposition, self).normalize(archive, logger)
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
class ThermalEvaporationHeaterTemperature(ArchiveSection):
|
|
516
|
+
m_def = Section(
|
|
517
|
+
a_plot=dict(
|
|
518
|
+
x='process_time',
|
|
519
|
+
y='temperature',
|
|
520
|
+
),
|
|
521
|
+
)
|
|
522
|
+
temperature = Quantity(
|
|
523
|
+
type=float,
|
|
524
|
+
unit='kelvin',
|
|
525
|
+
shape=['*'],
|
|
526
|
+
a_eln=ELNAnnotation(
|
|
527
|
+
defaultDisplayUnit='celsius',
|
|
528
|
+
),
|
|
529
|
+
)
|
|
530
|
+
process_time = Quantity(
|
|
531
|
+
type=float,
|
|
532
|
+
unit='second',
|
|
533
|
+
shape=['*'],
|
|
534
|
+
a_eln=ELNAnnotation(
|
|
535
|
+
defaultDisplayUnit='second',
|
|
536
|
+
),
|
|
537
|
+
)
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
class ThermalEvaporationHeater(PVDEvaporationSource):
|
|
541
|
+
m_def = Section(
|
|
542
|
+
a_plot=dict(
|
|
543
|
+
x=[
|
|
544
|
+
'temperature/process_time',
|
|
545
|
+
'power/process_time',
|
|
546
|
+
],
|
|
547
|
+
y=[
|
|
548
|
+
'temperature/temperature',
|
|
549
|
+
'power/power',
|
|
550
|
+
],
|
|
551
|
+
lines=[
|
|
552
|
+
dict(
|
|
553
|
+
mode= 'lines',
|
|
554
|
+
line=dict(
|
|
555
|
+
color='rgb(25, 46, 135)',
|
|
556
|
+
),
|
|
557
|
+
),
|
|
558
|
+
dict(
|
|
559
|
+
mode= 'lines',
|
|
560
|
+
line=dict(
|
|
561
|
+
color='rgb(0, 138, 104)',
|
|
562
|
+
),
|
|
563
|
+
),
|
|
564
|
+
],
|
|
565
|
+
),
|
|
566
|
+
)
|
|
567
|
+
temperature = SubSection(
|
|
568
|
+
section_def=ThermalEvaporationHeaterTemperature,
|
|
569
|
+
)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
class ThermalEvaporationSource(PVDSource):
|
|
573
|
+
m_def = Section(
|
|
574
|
+
a_plot=dict(
|
|
575
|
+
x=[
|
|
576
|
+
'material_source/rate/process_time',
|
|
577
|
+
'evaporation_source/temperature/process_time',
|
|
578
|
+
],
|
|
579
|
+
y=[
|
|
580
|
+
'material_source/rate/rate',
|
|
581
|
+
'evaporation_source/temperature/temperature',
|
|
582
|
+
],
|
|
583
|
+
lines=[
|
|
584
|
+
dict(
|
|
585
|
+
mode= 'lines',
|
|
586
|
+
line=dict(
|
|
587
|
+
color='rgb(25, 46, 135)',
|
|
588
|
+
),
|
|
589
|
+
),
|
|
590
|
+
dict(
|
|
591
|
+
mode= 'lines',
|
|
592
|
+
line=dict(
|
|
593
|
+
color='rgb(0, 138, 104)',
|
|
594
|
+
),
|
|
595
|
+
),
|
|
596
|
+
],
|
|
597
|
+
),
|
|
598
|
+
)
|
|
599
|
+
material_source = SubSection(
|
|
600
|
+
section_def=PVDMaterialSource,
|
|
601
|
+
)
|
|
602
|
+
evaporation_source = SubSection(
|
|
603
|
+
section_def=ThermalEvaporationHeater,
|
|
604
|
+
)
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
class ThermalEvaporationStep(PVDStep):
|
|
608
|
+
m_def = Section(
|
|
609
|
+
a_plot=[
|
|
610
|
+
dict(
|
|
611
|
+
x='sources/:/material_source/rate/process_time',
|
|
612
|
+
y='sources/:/material_source/rate/rate',
|
|
613
|
+
),
|
|
614
|
+
dict(
|
|
615
|
+
x='sources/:/evaporation_source/temperature/process_time',
|
|
616
|
+
y='sources/:/evaporation_source/temperature/temperature',
|
|
617
|
+
),
|
|
618
|
+
dict(
|
|
619
|
+
x='sources/:/evaporation_source/power/process_time',
|
|
620
|
+
y='sources/:/evaporation_source/power/power',
|
|
621
|
+
),
|
|
622
|
+
],
|
|
623
|
+
)
|
|
624
|
+
sources = SubSection(
|
|
625
|
+
section_def=ThermalEvaporationSource,
|
|
626
|
+
repeats=True,
|
|
627
|
+
)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
class ThermalEvaporation(PhysicalVaporDeposition):
|
|
631
|
+
'''
|
|
632
|
+
A synthesis technique where the material to be deposited is heated until
|
|
633
|
+
evaporation in a vacuum (<10^{-4} Pa) and eventually deposits as a thin film by
|
|
634
|
+
condensing on a (cold) substrate.
|
|
635
|
+
[database_cross_reference: https://orcid.org/0000-0002-0640-0422]
|
|
636
|
+
|
|
637
|
+
Synonyms:
|
|
638
|
+
- evaporative deposition)
|
|
639
|
+
- vacuum thermal evaporation
|
|
640
|
+
- TE
|
|
641
|
+
- thermal deposition
|
|
642
|
+
- filament evaporation
|
|
643
|
+
- vacuum condensation
|
|
644
|
+
'''
|
|
645
|
+
m_def = Section(
|
|
646
|
+
links=["http://purl.obolibrary.org/obo/CHMO_0001360"],
|
|
647
|
+
a_plot=[
|
|
648
|
+
dict(
|
|
649
|
+
x='steps/:/sources/:/material_source/rate/process_time',
|
|
650
|
+
y='steps/:/sources/:/material_source/rate/rate',
|
|
651
|
+
),
|
|
652
|
+
# dict(
|
|
653
|
+
# x='steps/:/sources/:/evaporation_source/temperature/process_time',
|
|
654
|
+
# y='steps/:/sources/:/evaporation_source/temperature/temperature',
|
|
655
|
+
# ),
|
|
656
|
+
dict(
|
|
657
|
+
x='steps/:/environment/pressure/process_time',
|
|
658
|
+
y='steps/:/environment/pressure/pressure',
|
|
659
|
+
layout=dict(
|
|
660
|
+
yaxis=dict(
|
|
661
|
+
type='log',
|
|
662
|
+
),
|
|
663
|
+
),
|
|
664
|
+
),
|
|
665
|
+
],
|
|
666
|
+
)
|
|
667
|
+
method = Quantity(
|
|
668
|
+
type=str,
|
|
669
|
+
default='Thermal Evaporation'
|
|
670
|
+
)
|
|
671
|
+
|
|
672
|
+
def normalize(self, archive, logger: BoundLogger) -> None:
|
|
673
|
+
'''
|
|
674
|
+
The normalizer for the `ThermalEvaporation` class.
|
|
675
|
+
|
|
676
|
+
Args:
|
|
677
|
+
archive (EntryArchive): The archive containing the section that is being
|
|
678
|
+
normalized.
|
|
679
|
+
logger (BoundLogger): A structlog logger.
|
|
680
|
+
'''
|
|
681
|
+
super(ThermalEvaporation, self).normalize(archive, logger)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
m_package.__init_metainfo__()
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
|
|
20
|
+
def get_reference(upload_id, entry_id):
|
|
21
|
+
return f'../uploads/{upload_id}/archive/{entry_id}#data'
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def get_entry_id_from_file_name(file_name, archive):
|
|
25
|
+
from nomad.utils import hash
|
|
26
|
+
return hash(archive.metadata.upload_id, file_name)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def create_archive(entity, archive, file_name) -> str:
|
|
30
|
+
import json
|
|
31
|
+
from nomad.datamodel.context import ClientContext
|
|
32
|
+
if isinstance(archive.m_context, ClientContext):
|
|
33
|
+
return None
|
|
34
|
+
if not archive.m_context.raw_path_exists(file_name):
|
|
35
|
+
entity_entry = entity.m_to_dict(with_root_def=True)
|
|
36
|
+
with archive.m_context.raw_file(file_name, 'w') as outfile:
|
|
37
|
+
json.dump({"data": entity_entry}, outfile)
|
|
38
|
+
archive.m_context.process_updated_raw_file(file_name)
|
|
39
|
+
return get_reference(
|
|
40
|
+
archive.metadata.upload_id,
|
|
41
|
+
get_entry_id_from_file_name(file_name, archive)
|
|
42
|
+
)
|