Features#
Sigima provides a comprehensive suite of signal and image processing computational features organized into logical categories. This page provides an organized overview of all available computation functions with direct links to their API documentation.
Note
All computation functions are available in the sigima.proc module. The sigima.tools modules provide lower-level utility functions used internally by the proc functions.
Common Operations#
These operations are available for both signals and images with similar functionality.
Arithmetic Operations#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Add two signals/images |
||
Subtract one signal/image from another |
||
Multiply two signals/images |
||
Divide one signal/image by another |
||
Compute average of multiple signals/images |
||
Compute standard deviation of multiple signals/images |
||
Compute quadratic difference between signals/images |
||
Generic arithmetic operations with parameters |
Constant Operations#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Add a constant value to signal/image |
||
Subtract a constant from signal/image |
||
Multiply signal/image by a constant |
||
Divide signal/image by a constant |
Mathematical Operations#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Compute absolute value |
||
Exponential function |
||
Base-10 logarithm |
||
Compute reciprocal |
||
Extract real part of complex data |
||
Extract imaginary part of complex data |
||
Extract phase of complex data |
||
Convert data type |
||
Transpose coordinates/axes |
||
N/A |
Log10 with offset for zero handling |
Signal-Specific Mathematical Operations#
Function |
Description |
|---|---|
Square root |
|
Raise to power |
|
Convert to Cartesian coordinates |
|
Convert to polar coordinates |
Complex Number Operations#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Create complex data from real and imaginary parts |
||
Create complex data from magnitude and phase |
Fourier Analysis#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Fast Fourier Transform (1D/2D) |
||
Inverse Fast Fourier Transform (1D/2D) |
||
Magnitude spectrum |
||
Phase spectrum |
||
Power spectral density |
Convolution Operations#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Convolution operation |
||
Deconvolution operation |
Filtering#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Gaussian smoothing filter |
||
Moving average filter |
||
Moving median filter |
||
Wiener filter |
Noise Addition#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Add Gaussian noise for testing |
||
Add Poisson noise for testing |
||
Add uniform noise for testing |
Signal Conditioning#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Normalize amplitude/intensity values |
||
Clip values to specified range |
||
Remove DC offset/background |
Region of Interest (ROI)#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Extract single ROI from data |
||
Extract multiple ROIs from data |
Calibration#
Signal Functions |
Image Functions |
Description |
|---|---|---|
Apply coordinate system calibration |
Signal Processing#
Array Operations#
Function |
Description |
|---|---|
Convert signals to image representation |
Frequency Filtering#
Function |
Description |
|---|---|
Low-pass filter |
|
High-pass filter |
|
Band-pass filter |
|
Band-stop filter |
|
Generic frequency filtering |
Signal Conditioning & Processing#
Function |
Description |
|---|---|
Remove linear trend |
|
Apply windowing function |
|
Resample signal |
|
Interpolate signal |
|
Reverse x-axis order |
|
Handle XY coordinate modes |
|
Replace X axis using another signal’s Y values |
|
Zero-padding for signals |
Signal Analysis#
Function |
Description |
|---|---|
Statistical measurements |
|
Compute signal histogram |
|
Compute signal contrast |
|
Compute signal derivative |
|
Compute signal integral |
|
Analyze sampling rate and period |
Peak and Feature Detection#
Function |
Description |
|---|---|
Peak detection in signals |
|
3dB bandwidth measurement |
|
Full Width at Half Maximum |
|
Full Width at 1/e² |
|
Full width at custom level |
|
Dynamic range parameters |
|
Find x-coordinates at given y-value |
|
Find y-values at given x-coordinate |
|
Find x-coordinates of extrema |
Curve Fitting#
Function |
Description |
|---|---|
Linear regression |
|
Polynomial fitting |
|
Gaussian curve fitting |
|
Lorentzian curve fitting |
|
Voigt profile fitting |
|
Two-half Gaussian fitting |
|
Exponential decay fitting |
|
Piecewise exponential fitting |
|
Sigmoid curve fitting |
|
Sinusoidal fitting |
|
Planckian (blackbody) fitting |
|
Cumulative distribution function fitting |
|
Evaluate fitted function |
|
Extract fitting parameters |
Stability Analysis#
Function |
Description |
|---|---|
Allan variance |
|
Allan deviation |
|
Modified Allan variance |
|
Overlapping Allan variance |
|
Hadamard variance |
|
Time deviation |
|
Total variance |
Pulse Analysis#
Function |
Description |
|---|---|
Extract comprehensive pulse characteristics |
Utility Functions#
Function |
Description |
|---|---|
Verify consistent sampling rates |
|
Calculate Nyquist frequency |
Image Processing#
Geometry and Transformations#
Function |
Description |
|---|---|
Rotate image by arbitrary angle |
|
Rotate image 90° clockwise |
|
Rotate image 270° clockwise |
|
Flip image horizontally |
|
Flip image vertically |
|
Translate image by specified offset |
|
Resize image to specified dimensions |
|
Resample image with different methods |
|
Reduce image size by binning pixels |
|
Set uniform coordinate system |
|
|
Apply custom geometric transformations |
Frequency Domain Filtering#
Function |
Description |
|---|---|
Butterworth frequency filter |
|
Gaussian frequency filter |
Edge Detection#
Function |
Description |
|---|---|
Sobel edge detector |
|
Sobel horizontal edges |
|
Sobel vertical edges |
|
Scharr edge detector |
|
Scharr horizontal edges |
|
Scharr vertical edges |
|
Prewitt edge detector |
|
Prewitt horizontal edges |
|
Prewitt vertical edges |
|
Farid edge detector |
|
Farid horizontal edges |
|
Farid vertical edges |
|
Roberts cross-gradient |
|
Laplacian edge detector |
|
Canny edge detector |
Feature Detection#
Function |
Description |
|---|---|
Blob detection using Difference of Gaussians |
|
Blob detection using Determinant of Hessian |
|
Blob detection using Laplacian of Gaussians |
|
OpenCV-based blob detection |
|
2D peak detection |
|
Contour shape analysis |
|
Circular Hough transform |
Morphological Operations#
Function |
Description |
|---|---|
Morphological erosion |
|
Morphological dilation |
|
Morphological opening |
|
Morphological closing |
|
White top-hat transform |
|
Black top-hat transform |
Thresholding#
Function |
Description |
|---|---|
Manual threshold with custom value |
|
Otsu’s thresholding |
|
Li’s thresholding |
|
Yen’s thresholding |
|
Triangle thresholding |
|
Isodata thresholding |
|
Mean thresholding |
|
Minimum thresholding |
Exposure and Intensity Correction#
Function |
Description |
|---|---|
Compute image histogram |
|
Histogram equalization |
|
Adaptive histogram equalization |
|
Gamma correction |
|
Logarithmic adjustment |
|
Sigmoid adjustment |
|
Rescale intensity range |
|
Flat-field correction |
Image Restoration#
Function |
Description |
|---|---|
Bilateral denoising |
|
Total variation denoising |
|
Wavelet denoising |
|
Top-Hat denoising |
|
Erase image regions |
Preprocessing#
Function |
Description |
|---|---|
Zero-padding for images |
Measurements and Analysis#
Function |
Description |
|---|---|
Compute image centroid |
|
Find minimum enclosing circle |
|
Statistical measurements |
|
Extract profile along a line |
|
Extract profile along a multi-segment line |
|
Extract radial profile from center |
|
Average profile over region |
|
Project image onto horizontal axis |
|
Project image onto vertical axis |
|
Generate grid of ROIs |
See Also#
Computation (sigima.proc) - Complete API reference for all processing functions
Model classes for signals and images (sigima.objects) - Data objects (SignalObj, ImageObj) used by processing functions
Examples - Examples demonstrating various computation features