SK polarization driver

This class uses the 64bit dll from SK to use the SK polarization. For more details refer to the manual of the device.

For now it only supports one polarization analyzer connected.

copyright:by Hyperion Authors, see AUTHORS for more details.
license:BSD, see LICENSE for more details.
class hyperion.controller.sk.sk_pol_ana.Skpolarimeter(settings)

This is the controller for the SK polarization. Based on their dll.

Parameters:settings (dict) – dictionary with the entry ‘dll_name’ : ‘SKPolarimeter’ (default value)
finalize()

Closing communication with device

get_device_information()

Get SK polarization analyzer information. This function adds the obtained values to the properties of the class so they are accessible for all the functions

Returns:reading answer from the function
Return type:int
get_number_polarizers()

Get the number of polarizers available in the system

get_wavelength()

Get current wavelength

Returns:wavelength in nm
Return type:float
initialize(wavelength=630)

Initiate communication with the SK polarization analyzer

Parameters:wavelength (int) – the working wavelength in nm
start_measurement()

start measurement

stop_measurement()

start measurement

wait_to_measure()

This function is meant to be used to delay the first measurement so the device is ready and producing data. It is used as a decorator.

class hyperion.controller.sk.sk_pol_ana.SkpolarimeterDummy(settings)

This is the dummy controller for the SK polarization. Based on their dll.