Digital Signal Processing¶
Signal processing elements
- class schemdraw.dsp.dsp.Adc(*args, **kwargs)¶
Analog to digital converter
- Anchors:
in
out
E (same as in)
W (same as out)
- class schemdraw.dsp.dsp.Amp(*args, **kwargs)¶
Amplifier
- Anchors:
in
out
- class schemdraw.dsp.dsp.Circle(*args, **kwargs)¶
Empty circle element
- Anchors:
N
S
E
W
NW
NE
SW
SE
- class schemdraw.dsp.dsp.Circulator(circle with an arrow in it)¶
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Dac(*args, **kwargs)¶
Digital to analog converter
- Anchors:
in
out
E (same as in)
W (same as out)
- class schemdraw.dsp.dsp.Demod(*args, **kwargs)¶
Demodulator (box with a diode in it)
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Filter(response=None, **kwargs)¶
- Parameters:
response (
Optional[Literal['lp','bp','hp','notch']]) – Filter response (‘lp’, ‘bp’, ‘hp’, or ‘notch’) for low-pass, band-pass, high-pass, and notch/band-stop filters
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Isolator(box with an arrow in it)¶
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Mixer(N=None, E=None, S=None, W=None, font=None, fontsize=10, **kwargs)¶
- Parameters:
N (
Optional[str]) – text in North sectorS (
Optional[str]) – text in South sectorE (
Optional[str]) – text in East sectorW (
Optional[str]) – text in West sectorfont (
Optional[str]) – Font family/namefontsize (
float) – Point size of label font
- Anchors:
N
S
E
W
NW
NE
SW
SE
- class schemdraw.dsp.dsp.Oscillator(*args, **kwargs)¶
Oscillator in a circle
- Anchors:
N
S
E
W
NW
NE
SW
SE
- class schemdraw.dsp.dsp.OscillatorBox(*args, **kwargs)¶
Oscillator in a square
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Speaker(*args, **kwargs)¶
Speaker with only one terminal
- class schemdraw.dsp.dsp.Square(*args, **kwargs)¶
Empty square element
- Anchors:
N
S
E
W
- class schemdraw.dsp.dsp.Sum(*args, **kwargs)¶
Summation element (+ symbol)
- Anchors:
N
S
E
W
NW
NE
SW
SE
- class schemdraw.dsp.dsp.SumSigma(*args, **kwargs)¶
Summation element (Greek Sigma symbol)
- Anchors:
N
S
E
W
NW
NE
SW
SE
- class schemdraw.dsp.dsp.VGA(tuneup=True, **kwargs)¶
Variable Gain Amplifier (amplifier symbol with an arrow over it)
- Parameters:
tuneup (
bool) – Set tune above or below the symbol
- Anchors:
input
out
tune