<-- Go back to response measures
Demodulation
Demodulation extracts a phasor from a steady-state time signal at selected multiples of the drive frequency. It is the response measure to use when you want quantities comparable to a lock-in amplifier or vector network analyzer: amplitude, phase, and response frequency.
The inputs are modal displacement time series \(x_i(t_n)\). Demodulation is applied directly to those modal coordinates and, optionally, to a weighted total response.
For each selected multiple \(\mu_m\), the demodulation frequency is
with \(\omega_d\) the drive angular frequency.
For each mode \(i\), the complex coefficient is
where \(w_n\) is the chosen window. The window coherent gain is
Amplitude and phase then follow as
If you pass \(\text{modal_contributions} = (\phi_1, \dots, \phi_{n_{\mathrm{modes}}})\), the total response is formed from the complex coefficients,
This is important: Poscidyn combines the modal coefficients before taking magnitude and phase, which preserves interference between modes.
If modal_contributions represents a mode-shape vector evaluated at a measurement point, the "total" block corresponds to the physical response at that point. If it is omitted, unit weights are used.
Parameters
multiples: non-empty sequence of frequency multiples.(1.0,)extracts the driven component,(1.0, 2.0, 3.0)adds superharmonics, and(1/3,)extracts a subharmonic.window: optional analysis window. Supported values areNone,"hann", and"hamming".modal_contributions: optional 1D weight vector of lengthn_modesused to construct the total response.