Module:
sdynpy.fileio.sdynpy_escdfSource: GitHub
Signature¶
def sdynpy.fileio.sdynpy_escdf.datasets_from_rattlesnake_transient_vibration(test_name_slug, streaming_data, control_data, verbose=False)Converts transient vibration data from Rattlesnake into ESCDF Datasets
Parameters¶
test_name_slug : str A string identifier that will be prepended to the dataset names
streaming_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 streaming data from a random vibration phase of the Rattlesnake controller.
control_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 control data from a transient vibration phase of the Rattlesnake controller.
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 specification, transient
vibration parameters, and channel table. Data includes Response
and Drive time histories.
Raises¶
ImportError
If the escdf package is not available.