Pythonic Virtual Machine
SKLP Class Reference

Detailed Description

ActiveLowPass.png
schema

Takes a signal in and passes it through a low pass filter using the Sallen-Key topology

Initialisation parameters:

  • gain = Integer: How much gain the signal will recive
  • Q = the Q value of the filter
  • fc = the frequency cut off for the circuit
  • pushed = True|False push the output buffer immediately if True

Input channels:

  • signal = incoming signal

Output channels:

  • out = $ G \cdot \frac{x(s)}{s^{2} + \frac{ \omega_{c} }{Q} \cdot s + \omega^{2}_{c} } $ where $ x $ is the input signal, $ \omega_{c} = 2 \pi f_c $ is the cut off pulse $ Q $ is the quality factor and $ G $ is the gain.

Examples:

1 machine.AddCircuit(type='SKLP', name='filter', fc=150)
2 machine.AddCircuit(type='SKLP', name='filter', gain=10, Q=2, fc=50, pushed='True')

Inherits Circuit.

Additional Inherited Members

- Public Attributes inherited from Circuit
 name
 Name of the circuit. More...
 
 enabled
 if it is working... More...
 
 machine
 Reference to the virtual machine to which this circuit belongs. More...
 
 pushed
 Push output buffer at the end of Update. More...
 
 I
 Dictionary of input channels.
 
 O
 Dictionary of output channels.
 
 cCoreID
 index of circuit in cCore
 

Documentation for pyVAFM
Generated on Wed Feb 8 2017 10:13:49 for pyVAFM by doxygen 1.8.9.1