Nonlinear Dynamics Laboratory
SOD toolbox

Smooth orthogonal decomposition (SOD): the coordinates of a multichannel record that change most slowly in time, for modal identification, damping estimation, trend extraction and reduced-order models. Python and MATLAB, MIT license.
Code on GitHubUser manual (PDF)Live slidesSlides (PDF)Slides (PowerPoint)
The decomposition
One real symmetric pencil, smoothest coordinates first
For a record with time along the rows and its time derivative, SOD solves
with the values ascending. Each value is the mean-square frequency of its coordinate . When the modal coordinates of an undamped structure are uncorrelated and in virial balance, the smooth orthogonal values are exactly and the smooth modes are the linear normal modes.
SOD here is the temporal form: it smooths the coordinates in time. Its spatial dual, smooth mode decomposition (SMD; Li, Wanchoo, Shukla and Chelidze, Mechanical Systems and Signal Processing 200 (2023) 110541), smooths the mode shapes in space and suits full-field data that are richer in space than in time; the toolbox implements it in its smd module. A smooth mode of SOD is the shape paired with a temporally smooth coordinate, not a spatially smoothed shape.

Damping
State SOD returns each damped mode as a decaying plane
Damping biases the plain decomposition through the circulation of the response and, in a free decay, through the energy lost over the record. The same pencil on the state returns each complex mode as a pair of coordinates spanning its modal plane, with . A least-squares fit on the plane gives its damping.

Practical data
Derivatives, sensor noise, recognition and trends
| Your data | Use |
|---|---|
| Displacement and velocity | sod(X, V) |
| Displacement only, clean | sod(X, dt=dt), then cd_correct |
| Displacement with white sensor noise | sod(X, dt=dt, h=2, lag=5) |
| Damped free decay | state_sod, pair_state, decay_damping |
| Smooth trend under fast content | sod(X, dt=dt, h=15, lag=31, center=True) |
| Nonlinear free decay | sod_track(X, dt, nwin, step, boundary=True) |
| Reduced-order model | sod_modes, rom_config, rom_state |
Modes are recognized by their spectral peaks and planes by circularity, never by the smoothness order: a noise direction or a drift can be smoother than a weakly excited mode.

Nonlinear systems
Windowed SOD traces frequency-energy dependence

The toolbox also builds reduced-order models on smooth modes, linear normal modes, POD and MTA bases, with exact simulation, and a linear-core-plus-residual basis for nonlinear structures. It is the common code of the lab’s SOD papers, now in preparation.
Full-field data
Smooth mode decomposition: mode shapes and frequencies from snapshots in any order
SMD transposes SOD. It combines snapshots instead of channels and uses spatial derivatives of the measured field instead of velocities, so it needs no time order, spacing or Nyquist rate. Choose the operator from the physics: gradient for strings, membranes and flows; second derivative for beams; the Kirchhoff energy for plates. With density and stiffness weights its values are the squared natural frequencies of the structure.




| Your data | Use |
|---|---|
| Clean full-field snapshots | smd(W, g, op, 'fd') |
| Noisy, or with holes | smd(W, g, op, 'whittaker', kc=...), choose kc with smd_kc_scan |
| Known density and stiffness | smd(..., density=rho, stiffness=EI), frequencies in R.omega |
Getting started
Using the code
Python (NumPy and SciPy):
git clone https://github.com/nld-uri/sod-toolbox.git
export PYTHONPATH=$PWD/sod-toolbox/python
import sodtoolbox as st
R = st.sod(X, V) # X, V: samples x channels
R.freq, R.Phi, R.Q # SOD frequencies, smooth modes, coordinates
Rs = st.state_sod(Y, Yd) # Y = [X V], Yd = [V A]
D = st.decay_damping(Rs, Yd, dt, wmax) # per-plane eigenvalues and zeta
MATLAB (base MATLAB, no toolboxes):
addpath('sod-toolbox/matlab')
R = sod_decomp(X, V);
Rs = sod_state(Y, Yd);
planes = sod_pair_state(Rs.Q, dt, wmax, struct('Phi', Rs.Phi));
The user manual covers the theory, the options and ten worked examples; the slides summarize them; the repository README lists the contents.
Citation
How to cite
Please cite the software, archived on Zenodo as doi:10.5281/zenodo.24602190, and the method paper.
@software{chelidze2026sod,
author = {Chelidze, David},
title = {{SOD} toolbox: smooth orthogonal decomposition and smooth mode decomposition for {Python} and {MATLAB}},
version = {0.3.0},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24602190},
url = {https://github.com/nld-uri/sod-toolbox}
}
@article{chelidze2006sod,
author = {Chelidze, David and Zhou, Wenliang},
title = {Smooth orthogonal decomposition-based vibration mode identification},
journal = {Journal of Sound and Vibration},
volume = {292},
number = {3--5},
pages = {461--473},
year = {2006},
doi = {10.1016/j.jsv.2005.08.006}
}
For smooth mode decomposition, please also cite H. Li, P. Wanchoo, A. Shukla, D. Chelidze, Mechanical Systems and Signal Processing 200 (2023) 110541, doi:10.1016/j.ymssp.2023.110541.
