Move for clarity
This commit is contained in:
@@ -154,10 +154,6 @@ class ILT1000(object):
|
|||||||
ret = self._SendCommand('gettrans')
|
ret = self._SendCommand('gettrans')
|
||||||
return float(ret) / 10
|
return float(ret) / 10
|
||||||
|
|
||||||
def GetOpticalDensity(self):
|
|
||||||
ret = self._SendCommand('getod')
|
|
||||||
return float(ret) / 100
|
|
||||||
|
|
||||||
def Get100PercentVoltage(self):
|
def Get100PercentVoltage(self):
|
||||||
# SPEC ERROR
|
# SPEC ERROR
|
||||||
# Spec says microvolts, but actual values appear to be in volts.
|
# Spec says microvolts, but actual values appear to be in volts.
|
||||||
@@ -170,6 +166,10 @@ class ILT1000(object):
|
|||||||
ret = self._SendCommand('set100perc')
|
ret = self._SendCommand('set100perc')
|
||||||
return float(ret)
|
return float(ret)
|
||||||
|
|
||||||
|
def GetOpticalDensity(self):
|
||||||
|
ret = self._SendCommand('getod')
|
||||||
|
return float(ret) / 100
|
||||||
|
|
||||||
def GetIrradiance(self):
|
def GetIrradiance(self):
|
||||||
ret = self._SendCommand('getirradiance')
|
ret = self._SendCommand('getirradiance')
|
||||||
return float(ret) / 1000
|
return float(ret) / 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user