irradiapy.srim.target package

Submodules

irradiapy.srim.target.element module

This module contains the Element class.

class irradiapy.srim.target.element.Element(symbol, atomic_number, atomic_mass, e_d, e_l, e_s, density=None)[source]

Bases: object

Class for defining an element in SRIM simulations.

symbol

The symbol of the element.

Type:

str

atomic_number

The atomic number of the element.

Type:

int

atomic_mass

The atomic mass of the element in atomic mass units.

Type:

float

e_d

The displacement energy of the element in eV.

Type:

float

e_l

The lattice binding energy of the element in eV.

Type:

float

e_s

The surface binding energy of the element in eV.

Type:

float

density

The density of the element in g/cm^3. Only to be used by predefined materials to simplify the definition of the layers in the target by the user.

Type:

float, optional

atomic_mass: float
atomic_number: int
density: None | float = None
e_d: float
e_l: float
e_s: float
symbol: str

irradiapy.srim.target.layer module

This module contains the Layer class.

class irradiapy.srim.target.layer.Layer(width, phase, density, elements, stoichs, bragg=1)[source]

Bases: object

Class for defining a layer in SRIM simulations.

width

The thickness of the layer in angstroms.

Type:

float

phase

The phase of the layer. 0 = solid, 1 = gas.

Type:

int

density

The density of the layer in g/cm^3.

Type:

float

elements

The list of elements in the layer.

Type:

list[Element]

stoichs

The list of stoichiometries for the elements in the layer.

Type:

list[float]

bragg

Stopping corrections for special bonding in compound targets.

Type:

int, optional (default=1)

bragg: int = 1
density: float
elements: list[Element]
nelements: int
phase: int
stoichs: list[float]
width: float

irradiapy.srim.target.target module

TThis module contains the Target class.

class irradiapy.srim.target.target.Target(layers)[source]

Bases: object

Class for defining the target material in SRIM simulations.

layers

The list of layers in the target material.

Type:

list

nelements

The total number of elements in the target material.

Type:

int

nlayers
Type:

int

layers: list[Layer]
nelements: int
nlayers: int
trimin_bragg()[source]

Return the Bragg corrections in the TRIMIN format.

Return type:

str

trimin_description()[source]

Return the target material description in the TRIMIN format.

Return type:

str

trimin_displacement()[source]

Return the displacement energies in the TRIMIN format.

Return type:

str

trimin_lattice()[source]

Return the lattice binding energies in the TRIMIN format.

Return type:

str

trimin_phases()[source]

Return the phases of the layers in the TRIMIN format.

Return type:

str

trimin_surface()[source]

Return the surface binding energies in the TRIMIN format.

Return type:

str

trimin_target_elements()[source]

Return the target elements in the TRIMIN format.

Return type:

str

trimin_target_layers()[source]

Return the target layers in the TRIMIN format.

Return type:

str

Module contents

This subpackage contains the classes for defining the target in SRIM simulations.