mirror of
https://github.com/jonathanhogg/scopething
synced 2025-07-16 11:46:37 +01:00
Remove unnecessary import
This commit is contained in:
2
scope.py
2
scope.py
@ -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):
|
||||||
|
Reference in New Issue
Block a user