photomultiplier

class containing methods to communicate with the photomultiplier

class Licel.photomultiplier.photomultiplier(ethernetController)
getHV(device: int) str

get Voltage of the pmt

Parameters:

device (int) – pmt device number

Returns:

controller response containing the pmt high voltage

Return type:

str

isPMTinstalled(device)

verifies if the pmt is correctly installed.

  1. Set the high voltages PMTs device to 0

2. Request high voltage. When a PMT reply contains around 356 V the corresponding cassette/PMT is not installed.

Parameters:

device (int) – pmt device number

Returns:

True when pmt corresponding to device is installed.

Return type:

bool

listInstalledPMT()

verifies if all PMT’s are correctly installed.

Returns:

dict holding information of which pmt is installed.

Return type:

dict{pmt number : Installed/Not installed}

setHV(device: int, voltage: int) str

set voltage for the pmt

Parameters:
  • device (int) – pmt device number

  • voltage (int) – desired pmt voltage

Returns:

controller response

Return type:

str