dispel.providers.generic.tasks.sbt_utt.utt module#
U-turn Test module.
A module containing the functionality to process the U-turn test (UTT).
- class dispel.providers.generic.tasks.sbt_utt.utt.AssertUTTDurationLess5Min[source]#
Bases:
ProcessingStep
Assertion UTT duration is less than five minutes.
- process_reading(reading, **kwargs)[source]#
Ensure UTT duration is less than five minutes.
- Parameters:
reading (Reading) –
- Return type:
Generator[ProcessingResult | ProcessingControlResult, None, None]
- class dispel.providers.generic.tasks.sbt_utt.utt.BehavioralDeviations[source]#
Bases:
ProcessingStepGroup
Behavioral flags processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.sbt_utt.utt.PlacementClassification object>, <dispel.providers.generic.flags.le_flags.TruncateFirst5Turns object>, <dispel.providers.generic.flags.le_flags.NonBeltDetectedUTT object>, <dispel.providers.generic.flags.le_flags.NoTurnsDetected object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.BehavioralInvalidations[source]#
Bases:
ProcessingStepGroup
Behavioral invalidation processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.flags.le_flags.NonBeltDetectedUTT object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.ExtractTurnForModalitiesMeasures[source]#
Bases:
ProcessingStepGroup
Processing steps to extract turns for modalities.
- steps: List[ProcessingStep] = [<dispel.providers.generic.activity.turning.ExtractTurnMeasures object>, <dispel.providers.generic.activity.turning.ExtractTurnMeasures object>, <dispel.providers.generic.activity.turning.ExtractTurnMeasures object>, <dispel.providers.generic.activity.turning.ExtractTurnMeasures object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.ExtractWalkingSpeed[source]#
Bases:
ExtractStep
Extract the UTT walking speed in step per seconds.
- Parameters:
step_detection_data_set – The identifier of the step detection output data set.
accelerometer_data_set – The identifier of the accelerometer norm input data set.
- dispel.providers.generic.tasks.sbt_utt.utt.LEVEL_FILTER = <LevelFilter: ((level id in [utt] and last level) and Level with a duration < 300 seconds.)>#
Define the filter to use to compute UTT measures.
- class dispel.providers.generic.tasks.sbt_utt.utt.LeeStepProcessing[source]#
Bases:
ProcessingStepGroup
Lee-specific processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.gait.core.AverageRollingVerticalAcceleration object>, <dispel.providers.generic.tasks.gait.lee.LeeDetectStepsWithoutBout object>, <dispel.providers.generic.tasks.gait.core.TransformStepDurationWithoutBout object>, <dispel.providers.generic.tasks.gait.lee.LeeMeasuresWithoutBoutGroup object>]#
- dispel.providers.generic.tasks.sbt_utt.utt.MAX_UTT_DURATION_SECONDS = 300#
The maximum duration of a computable U-Turn Test.
- class dispel.providers.generic.tasks.sbt_utt.utt.PlacementClassification[source]#
Bases:
ProcessingStepGroup
Placement classification processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.sensor.Resample object>, <dispel.providers.generic.sensor.EuclideanNorm object>, <dispel.providers.generic.activity.placement.ClassifyPlacement object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.TechnicalFlags[source]#
Bases:
ProcessingStepGroup
Processing steps for technical flags.
- steps: List[ProcessingStep] = [<dispel.providers.generic.flags.generic.FrequencyLowerThanGaitThres object>, <dispel.providers.generic.flags.generic.MaxTimeIncrement object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.TurnPreprocessing[source]#
Bases:
ProcessingStepGroup
Turn pre-processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.preprocessing.PreprocessingSteps object>, <dispel.providers.generic.preprocessing.PreprocessingSteps object>, <dispel.processing.transform.Apply object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.TurnProcessing[source]#
Bases:
ProcessingStepGroup
Turn processing steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.activity.turning.ElGoharyTurnDetection object>, <dispel.providers.generic.activity.turning.RefineUTurns object>, <dispel.providers.generic.activity.turning.TransformAbsTurnSpeed object>, <dispel.processing.transform.Apply object>, <dispel.providers.generic.sensor.EuclideanNorm object>, <dispel.providers.generic.activity.turning.WithinTurnSpeed object>, <dispel.providers.generic.activity.turning.WithinTurnSpeed object>]#
- class dispel.providers.generic.tasks.sbt_utt.utt.UTTProcessingSteps[source]#
Bases:
ProcessingStepGroup
UTT processing steps.
- level_filter: LevelFilter = <LevelFilter: ((level id in [utt] and last level) and Level with a duration < 300 seconds.)>#
- steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.sbt_utt.utt.TurnPreprocessing object>, <dispel.providers.generic.tasks.sbt_utt.utt.TurnProcessing object>, <dispel.providers.generic.tasks.sbt_utt.utt.ExtractTurnForModalitiesMeasures object>, <dispel.providers.generic.tasks.sbt_utt.utt.LeeStepProcessing object>, <dispel.providers.generic.tasks.sbt_utt.utt.ExtractWalkingSpeed object>, <dispel.providers.generic.tasks.sbt_utt.utt.BehavioralDeviations object>, <dispel.providers.generic.tasks.sbt_utt.utt.BehavioralInvalidations object>]#