Sputter System#
API of the sputter system class.
- class pysimtra.sputter_system.SputterSystem(chamber, magnetrons, dummy_objects, output_path)#
- Parameters:
chamber (Chamber) – chamber object
magnetrons (list[Magnetron]) – either a single magnetron object or a list of magnetrons
dummy_objects (list[DummyObject]) – dummy object or list of dummy objects
output_path (Path) – path pointing to a directory at which the simulation results will be stored
- classmethod single_from_file(path)#
Creates a sputter system with a single magnetron from a single “.sin” file.
- Parameters:
path (str | Path) – path to the “.sin” file
- Returns:
- classmethod multiple_from_files(chamber_path, magnetron_paths, object_paths, output_path)#
Creates a sputter system with multiple magnetrons from separate “.sin”, “.smo” and/or “.sdo” files.
- Parameters:
chamber_path (str | Path) – Path to a “.sin” file from which the chamber object will be generated
magnetron_paths (list[str | Path]) – Paths to the “.smo” or “.sin” files which define the magnetrons
object_paths (list[str | Path]) – Paths to the “.sdo” files which define the dummy objects
output_path (str | Path) – output path for the simulation results
- simulate(magnetrons=None, n_sim=1)#
Performs a simulation of the sputter system by storing the components temporarily as “.sin” files and calling the command line version of SIMTRA. Afterward, the results directory is analyzed and the particle distributions of all those objects are returned which have the “save averaged data” attribute.
- Parameters:
magnetrons (list[str] | None) – list of magnetron names to simulate. If not given, the deposition from all magnetrons are simulated
n_sim (int) – number of simulations of each magnetron. If n > 1, seed numbers are randomly generated and all simulation results will be combined for each magnetron
- Returns:
either a single SimtraOutput object or a list of SimtraOutput objects for every simulated magnetron containing the simulation results
- Return type:
SimtraOutput | list[SimtraOutput]
- to_sin(path, mag_name=None)#
Saves the sputter system with a given magnetron as a single “.sin” file. In case multiple magnetrons were defined inside the class, the other ones are added to the file as dummy objects.
- Parameters:
path (str | Path) – path including a filename and the “.sin” suffix
mag_name (str) – name of the magnetron to save, for a single magnetron system, this parameter has no effect