Skip to content

Commit

Permalink
Document intent
Browse files Browse the repository at this point in the history
  • Loading branch information
shumpohl committed Mar 15, 2024
1 parent 7d110ed commit ed1f3d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions qupulse/hardware/awgs/dummy.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
from .base import AWG

class DummyAWG(AWG):
"""Dummy AWG for debugging purposes."""

def __init__(self,
sample_rate: float=10,
output_range: Tuple[float, float]=(-5, 5),
num_channels: int=1,
num_markers: int=1) -> None:
"""Create a new DummyAWG instance.
"""Dummy AWG for automated testing, debugging and usage in examples.
Args:
memory (int): Available memory slots for waveforms. (default = 100)
sample_rate (float): The sample rate of the dummy. (default = 10)
output_range (float, float): A (min,max)-tuple of possible output values.
(default = (-5,5)).
Expand Down
2 changes: 2 additions & 0 deletions qupulse/hardware/dacs/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
from qupulse.hardware.dacs.dac_base import DAC

class DummyDAC(DAC):
"""Dummy DAC for automated testing, debugging and usage in examples. """

def __init__(self):
self._measurement_windows = dict()
self._operations = dict()
Expand Down

0 comments on commit ed1f3d3

Please sign in to comment.