mopipe.core.common.datastructs
datastructs.py
This module contains the data structures used by the mopipe package.
DataLevel Objects
class DataLevel(IntEnum)
DataLevel
Enum for the different levels of data that can be read by the mopipe package.
EnumContainsMeta Objects
class EnumContainsMeta(EnumMeta)
ExtendedStrEnum
This is an extension of the StrEnum class from the enum module. It adds the contains method, which allows checking if a string is a valid member of the enum.
It also adds the getitem method, which allows getting the value of a member from its name, or if you already pass in a value, it will return the value.
MocapMetadataEntries Objects
class MocapMetadataEntries(StrEnum, metaclass=EnumContainsMeta)
MocapMetadata
Common metadata for all MoCap data, and their transformed names. This allows a common interface for all MoCap data.
mopipe.core.data.empirical
This contains base classes for defining data associated with experiemnts
MetaData Objects
class MetaData(dict)
MetaData
Base class for all metadata associated with data.
MocapMetaData Objects
class MocapMetaData(MetaData)
MocapMetaData
This automatically transforms the keys of the metadata to the known names in MocapMetadataEntries.
EmpiricalData Objects
class EmpiricalData()
EmpiricalData
Base class for all empirical data.
DiscreteData Objects
class DiscreteData(EmpiricalData)
DiscreteData
For data that is associated with a level, but not timeseries.
TimeseriesData Objects
class TimeseriesData(EmpiricalData)
TimeseriesData
For timeserioes data that is associated with a level.
MocapTimeSeries Objects
class MocapTimeSeries(TimeseriesData)
MocapTimeSeries
For Mocap data (i.e. 3D marker positions).