qualia_core.datamodel.har package
Submodules
- qualia_core.datamodel.har.Activities module
Activities
Activities.NULL
Activities.STANDING
Activities.STAND_TO_SIT
Activities.SITTING
Activities.SIT_TO_STAND
Activities.WALKING
Activities.STOPPING
Activities.LYING
Activities.STAND_TO_LIE
Activities.LIE_TO_STAND
Activities.STAND_TO_SQUAT
Activities.SQUAT_TO_STAND
Activities.SQUATTING
Activities.WALKING_DOWNSTAIRS
Activities.WALKING_UPSTAIRS
Activities.INACTIVE
Activities.ACTIVE
Activities.DRIVING
Activities.RUNNING
Activities.DRINKING
Activities.SIT_TO_LIE
Activities.LIE_TO_SIT
- qualia_core.datamodel.har.Activity module
- qualia_core.datamodel.har.HARDataModel module
- qualia_core.datamodel.har.InfoHAR module
- qualia_core.datamodel.har.Subject module
- qualia_core.datamodel.har.TimedActivity module
Module contents
- class qualia_core.datamodel.har.Activities(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
IntEnum
- NULL = 1
- STANDING = 2
- STAND_TO_SIT = 3
- SITTING = 4
- SIT_TO_STAND = 5
- WALKING = 6
- STOPPING = 7
- LYING = 8
- STAND_TO_LIE = 9
- LIE_TO_STAND = 10
- STAND_TO_SQUAT = 11
- SQUAT_TO_STAND = 12
- SQUATTING = 13
- WALKING_DOWNSTAIRS = 14
- WALKING_UPSTAIRS = 15
- INACTIVE = 16
- ACTIVE = 17
- DRIVING = 18
- RUNNING = 19
- DRINKING = 20
- SIT_TO_LIE = 21
- LIE_TO_SIT = 22
- class qualia_core.datamodel.har.Activity(kind: qualia_core.datamodel.har.Activities.Activities, samples: list[qualia_core.datamodel.TimeSample.TimeSample] = <factory>)[source]
Bases:
object
- kind: Activities
- samples: list[TimeSample]
- class qualia_core.datamodel.har.HARDataModel(sets: ~qualia_core.datamodel.DataModel.Sets[list[<module 'qualia_core.datamodel.har.Subject' from '/home/runner/work/qualia-core/qualia-core/src/qualia_core/datamodel/har/Subject.py'>]], name: str = 'HAR')[source]
Bases:
DataModel
[list
[<module ‘qualia_core.datamodel.har.Subject’ from ‘/home/runner/work/qualia-core/qualia-core/src/qualia_core/datamodel/har/Subject.py’>]]- sets: py'>]]
- class qualia_core.datamodel.har.Subject(name: str, activities: list[qualia_core.datamodel.har.Activity.Activity], part: str = '')[source]
Bases:
object
- class qualia_core.datamodel.har.TimedActivity(kind: Activities, timesamples: dict[float, TimeSample] = None)[source]
Bases:
Activity
- property samples