Module:
sdynpy.fileio.sdynpy_escdfSource: GitHub
Signature¶
def sdynpy.fileio.sdynpy_escdf.datasets_from_rattlesnake_random_vibration(test_name_slug, streaming_data, spectral_data, verbose=False)Converts random 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.
spectral_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 spectral data from a random 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, random
vibration parameters, and channel table. Data includes Response CPSD
and Drive CPSD.
Raises¶
ImportError
If the escdf package is not available.