dispel.providers.generic.tasks.sbt_utt.sbt_synth module#
A Module containing the Classes necessary to create SBT AP-ML gravity trajectories.
Among others, functionality is implemented to create diverse shapes(e.g., Circle, Ellipse, Upsampled, Downsampled, rotations, etc).
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.BalanceSyntheticProcessingSteps[source]#
 Bases:
ProcessingStepGroupA mixing class injects synthetic trajectories in SBT pipeline.
- __init__(synthetic_step, *args, **kwargs)[source]#
 - Parameters:
 synthetic_step (ProcessingStep) –
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticCircle[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to a radius 1 circle for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipse[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to A=1 B=2 axes ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseDoubled[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to A=2 B=4 axes ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseDoubledRotated[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to a rotated 2*AB ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseDownsampled[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to a downsampled ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseOutliers[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to AB ellipse w/ outliers for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseOutliersDoubled[source]#
 Bases:
CreateSyntheticMartinezAccCreate data of 2*AB ellipse w/ outliers for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseRotated[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to 90deg rotated ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseSameAxes[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to a A=1 B=1 ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseStretched[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to a A=1 B=10 ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticEllipseUpsampled[source]#
 Bases:
CreateSyntheticMartinezAccCreate data corresponding to upsampled ellipse for unit-testing.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticMartinezAcc[source]#
 Bases:
TransformStepCreate data attributes for a synthetic Martinez Acceleration dataset.
- data_set_ids: str | Iterable[str] = 'martinez_accelerations'#
 An iterable of data sets to be being processed
- definitions: List[RawDataValueDefinition] = [<RawDataValueDefinition: v (Continuous valid acceleration V data merged)>, <RawDataValueDefinition: ml (Continuous valid acceleration ML data merged)>, <RawDataValueDefinition: ap (Continuous valid acceleration AP data merged)>]#
 
- level_filter: LevelFilter = <LevelIdFilter: level id in [sbt]>#
 
- storage_error: StorageError = 'overwrite'#
 
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticPlacement[source]#
 Bases:
TransformStepCreate data corresponding to complex placement_bouts detected.
- data_set_ids: str | Iterable[str] = 'placement_bouts'#
 An iterable of data sets to be being processed
- definitions: List[RawDataValueDefinition] = [<RawDataValueDefinition: start_time (start time)>, <RawDataValueDefinition: end_time (end time)>, <RawDataValueDefinition: duration (duration)>, <RawDataValueDefinition: placement (detected placement)>]#
 
- level_filter: LevelFilter = <LevelIdFilter: level id in [sbt]>#
 
- storage_error: StorageError = 'overwrite'#
 
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticPlacementBouts[source]#
 Bases:
CreateSyntheticPlacementCreate data corresponding to complex placement_bouts detected.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.CreateSyntheticPlacementBoutsAdjust[source]#
 Bases:
CreateSyntheticPlacementCreate data corresponding to complex placement_bouts detected.
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.PostMartinezSteps[source]#
 Bases:
ProcessingStepGroupProcessingStepGroup to do PostMartinez steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.sbt_utt.sbt.TransformJerkNorm object>, <dispel.providers.generic.tasks.sbt_utt.sbt.DetectExcessiveMotionGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.ExtractSpatioTemporalMeasuresGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.BehaviouralFlagsGroup object>]#
 
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.PreMartinezSteps[source]#
 Bases:
ProcessingStepGroupProcessingStepGroup to do PreMartinez steps.
- steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.sbt_utt.sbt.TechnicalFlagsGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.FormattingGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.PreProcessingStepsGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.SBTTremorMeasuresGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.TransformAxisNames object>]#
 
- class dispel.providers.generic.tasks.sbt_utt.sbt_synth.SBTSyntheticComplexProcessing[source]#
 Bases:
ProcessingStepGroupAll processing steps to extract SBT measures.
- level_filter: LevelFilter = <LevelIdFilter: level id in [sbt]>#
 
- post_steps: List[ProcessingStep] = [<dispel.providers.generic.flags.le_flags.FlagNonBeltSBT object>, <dispel.providers.generic.flags.le_flags.FlagAdjustmentNonBeltSBT object>]#
 
- pre_steps: List[ProcessingStep] = [<dispel.providers.generic.tasks.sbt_utt.sbt.TechnicalFlagsGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.FormattingGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.PreProcessingStepsGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.TremorAndAxesGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.DetectExcessiveMotionGroup object>, <dispel.providers.generic.tasks.sbt_utt.sbt.ExtractSpatioTemporalMeasuresGroup object>, <dispel.providers.generic.flags.le_flags.PlacementClassificationGroup object>]#
 
- set_steps(steps)[source]#
 Set processing steps part of the group.
- Parameters:
 steps (List[ProcessingStep]) –