3. Tutorial

You can communicate with PSlab either by C++ or Python API or by high-level Python interface. The last method is the easiest and most straightforward to use and does not require you to have any knowledge about the internals of the program. However, at the same time it is the most limited one and for some advanced computations, which are described at the end of this chapter you will need to use the Python API.

In this tutorial we assume that you are at least basically familiar with the Python language. If it is not the case you can read the Beginner's Guide [2]. We suggest that you take your time to learn Python at this is a very powerful programming language, making it possible to perform sophisticated simulations and postprocessing.