How to use OpenSim::TableUtilities::resample?
Posted: Mon Apr 17, 2023 9:10 am
Hi,
I want to resmaple a TimeSeriesTable and found OpenSim::TableUtilities::resample on Doxygen, but I don't know how to use it. TableUtilities doesn't have resample method in Python:
I'm also aware of OpenSim::Storage::resample and the conversion between Strorage and TimeSeriesTable. But I prefer to work with TimeSeriesTable rather than Storage.
Any help is greatly appreciated.
Mohammadreza
I want to resmaple a TimeSeriesTable and found OpenSim::TableUtilities::resample on Doxygen, but I don't know how to use it. TableUtilities doesn't have resample method in Python:
Code: Select all
In [29]: dir(osim.TableUtilities())
['__class__',
'__delattr__',
'__dict__',
'__dir__',
'__doc__',
'__eq__',
'__format__',
'__ge__',
'__getattribute__',
'__gt__',
'__hash__',
'__init__',
'__init_subclass__',
'__le__',
'__lt__',
'__module__',
'__ne__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__sizeof__',
'__str__',
'__subclasshook__',
'__swig_destroy__',
'__weakref__',
'checkNonUniqueLabels',
'convertRotationsToEulerAngles',
'filterLowpass',
'findStateLabelIndex',
'isInDegrees',
'pad',
'this',
'thisown']
Any help is greatly appreciated.
Mohammadreza