Writing breve Simulations With Python

Starting with breve 2.6, breve simulations can be written using the Python language. This section describes how to use Python with the breve simulation environment. Because Python is a well-established language with excellent documentation and tutorials, this section does not go into much detail on the language itself, and instead focuses on the overall concepts required to write simulations for breve in Python. If you're completely new to Python, you may wish to consult the official Python documentation

The first step in writing breve simulations with Python is to familiarize yourself with the
breve simulation structure, which describes general information about how simulations are structured, for all frontend languages.

Next, you can take a look at a basic simulation skeleton written in Python, in order to see how the breve simulation structure is used with Python. You can also begin looking at the included demos for real-world examples of how Python is used to write simulations.

Finally, you'll want to explore the built-in breve class APIs to learn how to use the features of the breve engine in your simulations.