Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk authored Jan 25, 2019
1 parent cda4209 commit 7794584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picoscope/ps4000a.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def getTimeBaseNum(self, sampleTimeS):
timebase = math.floor((sampleTimeS * 5.0E7) + 2)

else: # The original case from non "A" series
warnings.warn("The model PS4000a you are using may not be"
warnings.warn("The model PS4000a you are using may not be "
"fully supported", stacklevel=2)
maxSampleTime = (((2 ** 32 - 1) - 4) / 2e7)

Expand Down Expand Up @@ -349,7 +349,7 @@ def getTimestepFromTimebase(self, timebase):
dt = (timebase - 2) / 5.0E7

else: # The original case from non "A" series
warnings.warn("The model PS4000a you are using may not be"
warnings.warn("The model PS4000a you are using may not be "
"fully supported", stacklevel=2)
if timebase < 3:
dt = 2. ** timebase / 8e7
Expand Down

0 comments on commit 7794584

Please sign in to comment.