This repo contains the neccessary files to run QuOCS in Qudi.
-
Install the QuOCS-pyside2interface according to the README in the respective repository. Make sure you execute all the commands in the "qudi" conda environment!
-
Copy the folder
optimalcontrol
in the directoriesgui_files
andlogic_files
into thegui
andlogic
folders of your Qudi installation, respectively. -
Run Qudi.
-
Select "Load configuration" from the Menu or the icon in the top left corner of the Qudi UI. Load the
qudi_configuration.cfg
configuration file provided in this repo. (You can also include the neccessary parts in your custom Qudi configuration so that the modules show up in the interface and can be loaded.) -
Load the "optimalcontrol" GUI in Qudi.
-
Follow the
Example_Notebook_Qudi_and_QuOCS.ipynb
to learn how to use QuOCS and run optimizaitons in Qudi.
-
Open a terminal in the
qudi/core
folder of your Qudi installation. -
Activate your qudi conda environment
conda activate qudi
- Run the installation script via
python qudikernel.py install
- The used Qudi configuration file should contain the following entries:
In the global section:
Remote_server:
address: 'localhost'
port: 12345
In the logic section:
kernellogic:
module.Class: 'jupyterkernel.kernellogic.QudiKernelLogic'
remoteaccess: True
Now you can open a Jupyter notebook and select the "Qudi" kernel.