Code Monkey home page Code Monkey logo

sigproc's Introduction

Description

This project defines the methods for a bandpass filter and provides a UI where the user can select the cutoff frequencies.

The project is distributed under the 'sigproc' (signal processing) python package. Under this package there are 4 files:

  • control = the web application controller. This file maps URLs to python methods and provides the necessary logic to access the model.
  • model = the web application model. This file contains the database caching layer.
  • sig = signal processing related methods. This file contains methods to generate the coefficients for low-pass, high-pass and band-pass filters.
  • utils = various utility methods. This file contains the caching logic and the necessary methods to access the View templates.

Installation

Create a python virtual environment:

virtualenv --no-site-packages sigproc

Make sure the newly create virtual environment is activated. Then clone this repository:

git clone git://github.com/almarinescu/sigproc.git ~/sigproc

Install the sigproc package in the newly created virtual env:

python ~/sigproc/setup.py install

I personally had problems installing scipy using setuptools. If you encounter troubles while running the above command. Try to run first

easy_install -U numpy

and then run again the sigproc setup.py install method.

Sigproc uses memcache as one of it's caching layers, therefore make sure you launch a memcache before you start sigproc. If you don't have a memcache server running, sigproc will complain and refuse to start.

memcached -m 64 -p 1122 -u nobody -l 127.0.0.1

Launch the sigproc web-app using the command

launch-sigproc

The sigproc web-app should be up and running at 127.0.0.1:8080.

Future developments

Logging various events and profile the performance of various components. A configuration module would also be useful. Another improvement could be done on the client side. We could cache results in the client's browser and hit the server caching layer only when it's necessary.

sigproc's People

Contributors

almarinescu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.