Perform signal analysis
Project description
Python (2.7+/3.4+) routines for analyzing signals. Some of the functions include:
Calculating Short-Time Fourier Transform
Smoothing a signal
Plotting an STFT’s spectrogram
Calculating the peak hold of an STFT in the freq domain
Plotting the peak hold of an STFT
The above functions are handy when analyzing signals recorded in the time domain, such as using a TEAC LX-10 data recorder, and seeing the frequency spectrum. This is useful for Electromagnetic Compatibility (EMC) analyses.
Installation
You can install siganalysis either via the Python Package Index (PyPI) or from source.
To install using pip:
$ pip install siganalysis
Requirements
siganalysis requires the following Python packages:
Contributing
siganalysis is developed using Scott Chacon’s GitHub Flow. To contribute, fork siganalysis, create a feature branch, and then submit a pull request. GitHub Flow is summarized as:
Anything in the master branch is deployable
To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
Commit to that branch locally and regularly push your work to the same named branch on the server
When you need feedback or help, or you think the branch is ready for merging, open a pull request.
After someone else has reviewed and signed off on the feature, you can merge it into master.
Once it is merged and pushed to master, you can and should deploy immediately.
Running the Tests
siganalysis has been tested against Python 2.7 and Python 3.4. While siganalysis may work with other versions of Python, it hasn’t been tested with anything else at this time. Assuming you have virtualenv and virtualenvwrapper installed, you can run the following commands to clone the GitHub repository, create a virtualenv, and run the unit tests:
$ git clone https://github.com/questrail/siganalysis.git
$ cd siganalysis
$ mkvirtualenv siganalysis
$ pip install -r requirements.txt
$ nosetests
License
siganalysis is released under the MIT license. Please see the LICENSE.txt file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file siganalysis-0.4.0.tar.gz
.
File metadata
- Download URL: siganalysis-0.4.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945dba7b06d2c07a3e3a4a58ef3a9debd66cbb1551ccb14a55a9eeb75c788bdb |
|
MD5 | 8e4de85ce0e071e2129cb9c74bcbf7fc |
|
BLAKE2b-256 | cc40313dfaadbca7da27cec71249982c9119bab52f70750e1b369947190ca0fd |