Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Added sputtering source" #109

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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__()