diff --git a/src/python_spectrometer/daq/simulator.py b/src/python_spectrometer/daq/simulator.py index 6157f0a35f03d0fc3a029f679e5232fd4a1581b9..c6f21989ea7d9d6e5c182d4cbf855f6d8c8d6325 100644 --- a/src/python_spectrometer/daq/simulator.py +++ b/src/python_spectrometer/daq/simulator.py @@ -2,9 +2,9 @@ The :meth:`DAQ.acquire` method of DAQs in this module accepts a ``delay`` keyword argument which introduces a delay in between yields -to simulate a finite data acquisition time. If True (default), delays -by the amount of time it would take to actually acquire data with the -given settings; if float delays by the given amount. +to simulate a finite data acquisition time. If True, delays by the +amount of time it would take to actually acquire data with the given +settings; if float delays by the given amount. Examples -------- @@ -58,7 +58,7 @@ def with_delay(meth): """Wraps an acquisition generator to accept the *delay* kwarg.""" @wraps(meth) - def wrapped(self, *, delay=True, **settings): + def wrapped(self, *, delay=False, **settings): skip_delay = settings.pop('_skip_delay', False) if delay is True: