Digital Signal Processing

Signal processing elements

class schemdraw.dsp.dsp.Adc(*d, **kwargs)

Analog to digital converter

Anchors:
  • in

  • out

  • E (same as in)

  • W (same as out)

class schemdraw.dsp.dsp.Amp(*d, **kwargs)

Amplifier

Anchors:
  • in

  • out

class schemdraw.dsp.dsp.Circle(*d, **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(*d, **kwargs)

Digital to analog converter

Anchors:
  • in

  • out

  • E (same as in)

  • W (same as out)

class schemdraw.dsp.dsp.Demod(*d, **kwargs)

Demodulator (box with a diode in it)

Anchors:
  • N

  • S

  • E

  • W

class schemdraw.dsp.dsp.Filter(*d, response: Optional[Literal['lp', 'bp', 'hp', 'notch']] = None, **kwargs)
Parameters

response – 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(*d, N: Optional[str] = None, E: Optional[str] = None, S: Optional[str] = None, W: Optional[str] = None, font: Optional[str] = None, fontsize: float = 10, **kwargs)
Parameters
  • N – text in North sector

  • S – text in South sector

  • E – text in East sector

  • W – text in West sector

  • font – Font family/name

  • fontsize – Point size of label font

Anchors:
  • N

  • S

  • E

  • W

  • NW

  • NE

  • SW

  • SE

class schemdraw.dsp.dsp.Oscillator(*d, **kwargs)

Oscillator in a circle

Anchors:
  • N

  • S

  • E

  • W

  • NW

  • NE

  • SW

  • SE

class schemdraw.dsp.dsp.OscillatorBox(*d, **kwargs)

Oscillator in a square

Anchors:
  • N

  • S

  • E

  • W

class schemdraw.dsp.dsp.Speaker(d=None, **kwargs)

Speaker with only one terminal

class schemdraw.dsp.dsp.Square(*d, **kwargs)

Empty square element

Anchors:
  • N

  • S

  • E

  • W

class schemdraw.dsp.dsp.Sum(*d, **kwargs)

Summation element (+ symbol)

Anchors:
  • N

  • S

  • E

  • W

  • NW

  • NE

  • SW

  • SE

class schemdraw.dsp.dsp.SumSigma(*d, **kwargs)

Summation element (Greek Sigma symbol)

Anchors:
  • N

  • S

  • E

  • W

  • NW

  • NE

  • SW

  • SE

class schemdraw.dsp.dsp.VGA(tuneup: bool = True, *d, **kwargs)

Variable Gain Amplifier (amplifier symbol with an arrow over it)

Parameters

tuneup – Set tune above or below the symbol

Anchors:
  • input

  • out

  • tune