Skip to content

A python module to work with continuous-time system. You will find various second order electronic filters models. And more...

License

Notifications You must be signed in to change notification settings

slashformotion/SecondOrderElec

Repository files navigation

Electronic Lib for second order system

Continuous Integration PyPI - Downloads PyPI Documentation Status

A simple python library for the analysis of second order system.

Getting Started

Dependancies

  • numpy
  • matplotlib
  • scipy

Installing

Simple:

pip install SecondOrderElec

Documentation

It's on readthedocs.

Exemples

In this library you will find four main models for second order filters:

  • Low-Pass(SecondOrderElec.LP)
  • High-Pass (SecondOrderElec.HP
  • Band-Pass (SecondOrderElec.BP)
  • Notch (SecondOrderElec.Notch)
from SecondOrderElec import LP
import numpy as np

w = np.logspace(1,3,1000)

filter_instance = LP(T0=1, m=0.1, w0=6000)
t,s = filter_instance.freqresp(w=w, plot=True)

Module Argument

You will find others exemples here.

Help

Create an issue here.

Maintainers

Licence

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A python module to work with continuous-time system. You will find various second order electronic filters models. And more...

Topics

Resources

License

Stars

Watchers

Forks