getbias
This commit is contained in:
3
dump.py
3
dump.py
@@ -50,7 +50,8 @@ LINES = [
|
|||||||
('Factory dark', ilt.GetFactoryDarkVoltages, 'V'),
|
('Factory dark', ilt.GetFactoryDarkVoltages, 'V'),
|
||||||
('User dark', ilt.GetUserDarkVoltages, 'V'),
|
('User dark', ilt.GetUserDarkVoltages, 'V'),
|
||||||
('Ambient', ilt.GetAmbientCurrent, 'A'),
|
('Ambient', ilt.GetAmbientCurrent, 'A'),
|
||||||
('Sample time', ilt.GetSampleTime, 's'),
|
('Sample time', ilt.GetSampleSeconds, 's'),
|
||||||
|
('Detector bias', ilt.GetBiasVoltage, 'V'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ class CommandError(Error):
|
|||||||
# setsampletime
|
# setsampletime
|
||||||
# setsampletimetemp
|
# setsampletimetemp
|
||||||
|
|
||||||
# getbias
|
|
||||||
|
|
||||||
# getecal
|
# getecal
|
||||||
# getecaldate
|
# getecaldate
|
||||||
# setecal
|
# setecal
|
||||||
@@ -345,10 +343,13 @@ class ILT1000(object):
|
|||||||
def GetAmbientCurrent(self):
|
def GetAmbientCurrent(self):
|
||||||
return float(self._SendCommand('getambientlevel'))
|
return float(self._SendCommand('getambientlevel'))
|
||||||
|
|
||||||
def GetSampleTime(self):
|
def GetSampleSeconds(self):
|
||||||
ret = self._SendCommand('getsampletime')
|
ret = self._SendCommand('getsampletime')
|
||||||
return float(ret) / 1000
|
return float(ret) / 1000
|
||||||
|
|
||||||
|
def GetBiasVoltage(self):
|
||||||
|
return float(self._SendCommand('getbias'))
|
||||||
|
|
||||||
|
|
||||||
class _Row(object):
|
class _Row(object):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user