2.5.9. Console
2.5.9.1. Introduction
The Console is an IPython console running inside PyMoDAQ, to interact with the Dashboard and its control modules with python commands.
2.5.9.1.1. Typical workflow
Define an experiment in the Dashboard and apply it with the Dashboard toolbar of the extension.
Type python commands in the console. The objects
dashboard(the Dashboard) andmods(the manager of its control modules) are available once the experiment is applied, together withnumpyasnp.
2.5.9.1.2. Good to know
modsgives access to the actuators and detectors loaded in the Dashboard, to move or grab them from the console.For inline plots use the
%matplotlibmagic command.To drive PyMoDAQ from another process, see the scripting package.