This is a copy of the P-ONE OMCU repository up to commit 32bfad6e2567b9f87f8abfd742b11f64f68118b0. This repository exists purely for personal archival purposes.
Control Software for the Optical Module Calibration Unit.
Please make sure that the following conditions are met before the OMCU is turned on: .
- The PMT is connected to the Picoscope via the coaxial cable labeled "Data" inside the OMCU.
- The OMCU is properly closed and the red handles are shut.
- The uBase is plugged in. (See plug to the right of the OMCU)
- The following devices to the left of the OMCU are turned on:
- the Power Meter
- the Laser Control System
- both PSU_0 and PSU_1
- the Picoscope
- the Picoamp
usage: omcu [-h] [-l LOGLVL] [-o OUTPATH] [-n PMTNAME] [-c COOLDOWN] [--config CONFIG] [--script SCRIPT] [--printconfig]
optional arguments:
| short | long | description |
|---|---|---|
| -h | --help | show this help message and exit |
| -o OUTPATH | --outpath OUTPATH | path to the program output |
| -n PMTNAME | --pmtname PMTNAME | name of the PMT inside the omcu |
| -c COOLDOWN | --cooldown COOLDOWN | the cooldown time in minutes to reduce noise before any measurement takes place |
| --config CONFIG | path to an alternative config file, which should be used instead of the default one | |
| --script SCRIPT | executes the given script instead of the main program | |
| --printconfig | prints the content of the given config file. Exits the program afterwards |
If no argument is given, the omcu defaults to the value in omcu/config.py
The omcu offers a config file at omcu/config.py to adjust varoius settings in detail. Please note that these configurations will be overwritten by comand line argments you pass to the omcu.