Skip to content
Snippets Groups Projects
Readme.md 2.1 KiB
Newer Older
Stefan Palkovits's avatar
Stefan Palkovits committed
# Installation

Stefan Palkovits's avatar
Stefan Palkovits committed
**This is a copy of the original repository by HEnrik Spitzenpfeil! This manual should be properly adjusted.**
Stefan Palkovits's avatar
Stefan Palkovits committed

Stefan Palkovits's avatar
Stefan Palkovits committed
* Clone the repository from https://git.rwth-aachen.de/palkovits/ai4oer.git
Stefan Palkovits's avatar
Stefan Palkovits committed

* Navigate to each of the Autolab, langpy and secm directories and use ```$pip install .``` on each to install the packages.

* Check the dependencies of all the repositories and install any missing packages.

* You are now ready to create your own experiment scripts.

# Using the secm package

* Users mainly need two functions from the ```SECM``` class which abstract the secm process.

* ```new_substrate()``` Prompts the user to install a new substrate and move the sdc head to the new starting position on the substrate. This needs to be called once at the beginning of an experiment script. 

* ```prepare_next_experiment(step_size)``` moves the head to the next experiment spot on the substrate that is "step_size" away. It automatically moves to the next line on the substrate and calls ```new_substrate()``` if there is no space left on the substrate according to the substrate size.

# Using the autolab package

* autolab provides the ```Potentiostat``` class which features all the basic functionality for controlling the Potentiostat

* Before you can use the Potentiostat call ```connect()``` to connect to the device make sure that all instances of Nova are closed.

* To apply a potential call ```set_potential(value)```

* Read the Potential current and Applied Potential by calling ```get_actual_values()```

* Presently the autolab package does not directly support the execution of Nova procedures in the .nox format. The functionality can still be used by calling ```procedure = Potentiostat.instrument.LoadProcedure(procedure_path)```

* The loaded procedure can be executed by calling ```procedure.Measure()```
To check if the procedure has fully executed before saving it you can use ```procedure.IsMeasuring```

* To save the procedure and collected data use ```procedure.SaveAs(save_path)```. Make sure to specify the .nox file ending in the file name. The saved data can be opened and inspected using the Nova Software.