Functions useful for analyzing digitized signals.
Project description
Digital Signal Processing Toolbox
This code started as a C++ program to perform trapezoidal filtering to a digitized signal from XIA LLC's Pixie-16 hardware. The original sample code came from a VB program using IGOR as its base. It fairly well approximates the filter calculations that happen on a Pixie-16 module. These algorithms are mostly focused around XIA's hardware and function, but can be applied to any digitized signal.
Module Descriptions
filtering
trapezoidal_filters.py
XIA LLC uses trapezoidal filtering to calculate trigger positions and energies. The functions in this script approximate the Pixie-16 on-board calculations. We have functions to calculate
- trigger positions,
- signal baseline,
- signal energy,
- and trigger and energy responses.
We've made no attempt to convert bins to time. Users can do this trivially if they know the sampling frequency of their signal.
sample_data
sample_traces.py
This script contains sample signals that users can use to explore the performance of the code. See the in code documentation for more information about the signals.
Installation
As of right now the programs don't have any special dependencies. Just download and run.
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
Built Distribution
Hashes for dsp_toolkit-2.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c901eff9cdab968787d71041b6dfe49a267ea89931d89dc0836c1f2bdc4352 |
|
MD5 | 3dcb7b16bb131dba76fb0842c4d345cd |
|
BLAKE2b-256 | a7850b39205ba0bd506e627a1141676ec5aafc981fcf5926b9ae8f850c29ae44 |