Module:
sdynpy.fileio.sdynpy_escdfSource: GitHub
Signature¶
def sdynpy.fileio.sdynpy_escdf.datasets_from_rattlesnake_modal(test_name_slug, modal_results_data, mode_fits=None, resynthesized_frfs=None, verbose=False)Converts modal data from Rattlesnake into ESCDF Datasets
Parameters¶
test_name_slug : str A string identifier that will be prepended to the dataset names
modal_results_data : str or netCDF4.Dataset A string pointing to a netCDF4 file or the netCDF4 file loaded as a netCDF4.Dataset object. The file should contain modal results from a Rattlesnake modal environment.
mode_fits : ShapeArray A ShapeArray object containing fit modes. If not supplied, no mode dataset will be created.
resynthesized_frfs : TransferFunctionArray A TransferFunctionArray object containing resynthesized FRFs. If not supplied, no resynthesized frf dataset will be created.
verbose : bool, optional If True, progress will be printed. The default is False.
Returns¶
ESCDF Datasets
A nested Tuple of ESCDF datasets. The first index is the metadata and
the second index is the data. Metadata includes modal
parameters and channel table. Data includes FRFs, Coherence, Fit Modes
(if supplied) and resynthesized FRFs (if supplied).
Raises¶
ImportError
If the escdf package is not available.