From 7d1d875c438093dfbd9a14e746d3a66c5bbb12b7 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 8 Apr 2016 13:16:45 -0700 Subject: [PATCH] Move for clarity --- ilt1000.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ilt1000.py b/ilt1000.py index 63a56ff..410aeec 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -154,10 +154,6 @@ class ILT1000(object): ret = self._SendCommand('gettrans') return float(ret) / 10 - def GetOpticalDensity(self): - ret = self._SendCommand('getod') - return float(ret) / 100 - def Get100PercentVoltage(self): # SPEC ERROR # Spec says microvolts, but actual values appear to be in volts. @@ -170,6 +166,10 @@ class ILT1000(object): ret = self._SendCommand('set100perc') return float(ret) + def GetOpticalDensity(self): + ret = self._SendCommand('getod') + return float(ret) / 100 + def GetIrradiance(self): ret = self._SendCommand('getirradiance') return float(ret) / 1000