Skip to content

Commit

Permalink
Revert "Added sputtering source (#108)"
Browse files Browse the repository at this point in the history
This reverts commit 372da62.
  • Loading branch information
aalbino2 authored Oct 2, 2024
1 parent edd6285 commit ae51b4f
Showing 1 changed file with 0 additions and 119 deletions.
119 changes: 0 additions & 119 deletions src/nomad_material_processing/vapor_deposition/pvd/sputtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,6 @@
)

from nomad.config import config
from nomad.datamodel.data import (
EntryData,
)
from nomad.datamodel.metainfo.annotations import (
ELNAnnotation,
ELNComponentEnum,
Filter,
SectionProperties,
)
from nomad.datamodel.metainfo.basesections import (
CompositeSystem,
ReadableIdentifiers,
SystemComponent,
)
from nomad.metainfo import (
Datetime,
SubSection,
)

from nomad_material_processing.general import (
Geometry,
)
from nomad_material_processing.vapor_deposition.pvd.general import (
PVDEvaporationSource,
PVDSource,
SourcePower,
)

m_package = SchemaPackage(name='Sputter Deposition')

Expand Down Expand Up @@ -105,96 +78,4 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None:
super().normalize(archive, logger)


class Magnetron(PVDEvaporationSource):
"""
A representation of the magnetron device.
"""

m_def = Section(
a_plot=dict(
x='power/time',
y='power/value',
),
)

power = SourcePower()

Description = Quantity(
type=str,
a_eln=ELNAnnotation(
component='RichTextEditQuantity',
),
)


class SputteringTarget(CompositeSystem, EntryData):
"""
A representation of the target material used in sputtering. It cointains the target
ID, the delivery date and the actual date where the target was installed
inside the chamber.
"""

m_def = Section(a_eln={'hide': ['datetime']})

target_id = SubSection(
section_def=ReadableIdentifiers,
)

geometry = SubSection(
section_def=Geometry,
description='Section containing the geometry of the target.',
)

delivery_date = Quantity(
type=Datetime,
a_eln=ELNAnnotation(
component=ELNComponentEnum.DateEditQuantity,
),
)

installation_date = Quantity(
type=Datetime,
a_eln=ELNAnnotation(
component=ELNComponentEnum.DateEditQuantity,
),
)


class SputteringTargetComponent(SystemComponent):
m_def = Section(a_eln={'hide': ['mass_fraction', 'mass']})

lab_id = Quantity(
type=str,
a_eln=ELNAnnotation(
component=ELNComponentEnum.StringEditQuantity,
label='Target ID',
),
)
system = Quantity(
type=SputteringTarget,
a_eln=ELNAnnotation(
component=ELNComponentEnum.ReferenceEditQuantity,
),
)


class SputteringSource(PVDSource):
"""
A representation of both the magentron and the target material, which works as
a source of atoms for sputtering.
"""

m_def = Section(
a_eln=ELNAnnotation(
hide=['name'],
properties=SectionProperties(
visible=Filter(exclude=['impinging_flux', 'vapor_molar_flow_rate'])
),
),
links=['http://purl.obolibrary.org/obo/CHMO_0002896'],
)

vapor_source = SubSection(section_def=Magnetron, repeats=True)


m_package.__init_metainfo__()

0 comments on commit ae51b4f

Please sign in to comment.