Manual: Scripting¶
Use Python scripts for full control of calculations.
..note:: The easy way to point the MSTM binary in script is the usage of the os module:
import os os.environ['MSTM_BIN'] = 'your path to mstm binary'The default path is ‘~/bin/mstm.x’
- Materials
- Simple functions and Mie theory
- Spheres setup
- MSTM run
- Visualization of near field
- Non-spherical particles
- Fitting
- Constraints