gwexpy.interop.sdypy_#
Interoperability with SDyPy and pyuff (Universal File Format).
Functions
|
Convert a pyuff dataset-55 dict to a |
|
Convert a pyuff dataset-58 dict to |
- gwexpy.interop.sdypy_.from_uff_dataset58(cls: type, uff_data: dict, *, response_type: str | None = None) Any#
Convert a pyuff dataset-58 dict to
TimeSeriesorFrequencySeries.- パラメータ:
cls (type) --
TimeSeriesorFrequencySeries. If None or ambiguous, the function type field in the UFF data is used to auto-select.uff_data (dict) -- A single dataset-58 record as returned by
pyuff.UFF().read_sets(). Expected keys:"x","data","func_type","id1"(description),"rsp_dir","ref_dir", etc.response_type (str, optional) -- Override for unit inference (e.g.
"accel").
- 戻り値の型:
- gwexpy.interop.sdypy_.from_uff_dataset55(uff_data: dict) Any#
Convert a pyuff dataset-55 dict to a
pandas.DataFrame.Dataset type 55 contains modal model data: natural frequencies, modal damping, and mode shapes.
- パラメータ:
uff_data (dict) -- A single dataset-55 record from
pyuff.UFF().read_sets(). Expected keys:"modal_m"(mode number),"modal_freq","modal_damp","modal_viscous_damp","r1"–"r6"(DOF responses),"node_nums", etc.- 戻り値の型:
pandas.DataFrame