Together with this book, we have developed a comprehensive MatLab software toolbox to work with optical tweezers: OTS — the Optical Tweezers Software.
The OTGO — Optical Tweezers in Geometrical Optics toolbox is an object-oriented software package implemented in MATLAB for the calculation of optical forces and torques in the geometrical optics regime. All its functionalities have now been merged into the more comprehensive OTS — the Optical Tweezers Software.
The code examples for the book make use of OTS and are provided in Code Examples.
OTS, OTGO and the code examples are freely available for download.