Thorlabs motor controller

Note: this is a wrapper class around an external controller to fit it into hyperion structure

Is based on the imported Thorlabs APT python software from https://github.com/qpit/thorlabs_apt/tree/master/thorlabs_apt. This is installed in hyperion and can be found in C:/Users/NAME/AppData/Local/Continuum/anaconda3/envs/hyperion/Lib/site-packages/thorlabs_apt. This controller basically is just a wrapper to make things work within hyperion. The core is not always well documented, for better descriptions see the thorlabs_motor_instrument.

class hyperion.controller.thorlabs.tdc001_cube.TDC001_cube(settings)
This is the controller for the Thorlabs TDC001_cubes that work with motors.
It is just a wrapper that is linking to the thorlabs_apt.core with the class Motor in it.
Usually, the super().__init__() would execute the init of the BaseController.
However, since the current class inherits from both core.Motor and BaseController, only the first init is executed.
Parameters:settings (dict) – the class Motor needs a serial number
finalize()
Here is should close the connection with the device, but this or similar functions do not exist in the core.Motor.
So this function is just so that higher layers dont give errors.
initialize()
The external core.Motor object is already initialized by executing super().__init__(self.serial).
So this function is just so that higher layers dont give errors.
class hyperion.controller.thorlabs.tdc001_cube.TDC001_cubeDummy(settings)

A dummy version that does not do anything at all.