1
0
mirror of https://github.com/jonathanhogg/scopething synced 2025-07-16 11:46:37 +01:00

Remove unnecessary import

This commit is contained in:
2017-03-26 13:16:06 +01:00
parent ba0af88735
commit 198a6099c7

View File

@ -266,7 +266,7 @@ class Scope(vm.VirtualMachine):
async def calibrate(self, n=33): async def calibrate(self, n=33):
import numpy as np import numpy as np
from scipy.optimize import leastsq, least_squares from scipy.optimize import least_squares
items = [] items = []
await self.start_generator(1000, waveform='square') await self.start_generator(1000, waveform='square')
for low in np.linspace(0.063, 0.4, n): for low in np.linspace(0.063, 0.4, n):