Python (3.6+) 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 for Electromagnetic Compatibility (EMC) analyses.
You can install siganalysis either via the Python Package Index (PyPI) or from source.
To install using pip:
$ pip install siganalysis
Source: https://github.com/questrail/siganalysis
siganalysis requires the following Python packages:
Contributions are welcome! To contribute please:
- Fork the repository
- Create a feature branch
- Add code and tests
- Pass lint and tests
- Submit a pull request
Use the following commands to create a Python 3.9.9 virtualenv using pyenv
and pyenv-virtualenv, install the requirements in the virtualenv named
siganalysis
, and list the available Invoke tasks.
$ pyenv virtualenv 3.9.9 siganalysis
$ pyenv activate siganalysis
$ pip install -r requirements.txt
$ inv -l
siganalysis is released under the MIT license. Please see the LICENSE.txt file for more information.