We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a7f910 commit a29f521Copy full SHA for a29f521
picoscope/picobase.py
@@ -1058,9 +1058,9 @@ def getAWGDeltaPhase(self, timeIncrement):
1058
1059
"""
1060
samplingFrequency = 1 / timeIncrement
1061
- deltaPhase = int(round(samplingFrequency / self.AWGDACFrequency *
+ deltaPhase = int(samplingFrequency / self.AWGDACFrequency *
1062
2 ** (self.AWGPhaseAccumulatorSize -
1063
- self.AWGBufferAddressWidth)))
+ self.AWGBufferAddressWidth))
1064
return deltaPhase
1065
1066
def getAWGTimeIncrement(self, deltaPhase):
0 commit comments