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(*args, **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(*args, **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(*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(*args, **kwargs)

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

Parameters:

tuneup – Set tune above or below the symbol

Anchors:
  • input

  • out

  • tune