dispel.providers.generic.tremor module#
Specific functionality for signal processing of the tremor detection.
- class dispel.providers.generic.tremor.PowerSpectrumDensity[source]#
Bases:
ApplyA transform step to compute the power spectrum of a signal.
- Parameters:
data_set_id – The data set id on which the transformation is to be performed.
columns – The columns onto which the signal’s tremor filter is applied.
new_data_set_id – The new
idused for theRawDataSetDefinition.level_filter – An optional
LevelFilterto determine the levels to be transformed.
- class dispel.providers.generic.tremor.TremorMeasures[source]#
Bases:
ProcessingStepGroupA group of tremor processing steps according a given data set.
- Parameters:
sensor – The type of sensor on which the extraction is to be performed.
data_set_id – The data set id on which the transformation is to be performed (‘accelerometer’, ‘gyroscope’).
columns – The columns onto which the signal’s tremor measures are to be extracted.
lower_bound – The lower bound of frequencies below which the signal is filtered.
upper_bound – The upper bound of frequencies above which the signal is filtered.
level_filter (dispel.processing.level.LevelFilter) – An optional
LevelFilterto determine the levels to be transformed. If no filter is provided, all levels will be transformed. Thelevel_filteralso acceptsstr,LevelIds and lists of either and passes them to aLevelIdFilterfor convenience.add_norm – An optional boolean to determine if the norm should be added to the columns.
Notes
The lower and upper bound of the band filter values are set by default to 2.0 and 5.0.