Fix typo and change default frequency

This commit is contained in:
CPD 2025-03-04 17:59:41 +01:00
parent 6d4f5e2686
commit 47d76919fc

View File

@ -4,9 +4,9 @@ from time import time as now
import numpy as np import numpy as np
class TestVoltageMeasurementDevice(VoltageMeasurementDevice): class TestVoltageMeasurementDevice(VoltageMeasurementDevice):
def __init__(self, ampltiude: float=1.0, frequency: float=3.0): def __init__(self, amplitude: float=1.0, frequency: float=20.0):
super().__init__() super().__init__()
self.amplitude = ampltiude self.amplitude = amplitude
self.frequency = frequency self.frequency = frequency
self.t0 = now() self.t0 = now()