gwexpy.interop.pyoma_#
Interoperate with pyOMA operational modal analysis results.
Interoperability with pyOMA (Operational Modal Analysis).
pyOMA returns results as Python dicts with keys like "Fn" (natural
frequencies), "Zeta" (damping ratios), and "Phi" (mode shapes).
参照
Functions
|
Convert pyOMA result dict to a GWexpy type. |
- gwexpy.interop.pyoma_.from_pyoma_results(cls: type, results: dict, *, fs: float | None = None) Any#
Convert pyOMA result dict to a GWexpy type.
- パラメータ:
cls (type) -- Target type. Use
pandas.DataFrame(or pass the string"DataFrame") for modal parameter summary, orFrequencySeriesMatrixfor mode-shape based FRF reconstruction.results (dict) --
pyOMA result dictionary. Expected keys:
"Fn": ndarray (n_modes,) — natural frequencies [Hz]"Zeta": ndarray (n_modes,) — damping ratios"Phi": ndarray (n_dof, n_modes) — mode-shape matrix (optional)"Xi": alias for"Zeta"in some pyOMA versions"Freq": alias for"Fn"in some versions
fs (float, optional) -- Sampling frequency [Hz]. Stored in metadata.
- 戻り値の型:
pandas.DataFrame or FrequencySeriesMatrix