dispel.processing package#
Processing functionality.
- dispel.processing.process(reading, steps, **kwargs)[source]#
Perform processing steps on a reading.
- Parameters:
reading (Reading) – The reading to be processed.
steps (ProcessingStep | Iterable[ProcessingStep]) – An iterable of
ProcessingStep
s to be applied to thereading
or a single processing step to be applied.kwargs – Additional named arguments are passed to the
process()
function.
- Returns:
The data trace corresponding to the provided reading after applying the processing steps.
- Return type:
Submodules#
- dispel.processing.assertions module
- dispel.processing.core module
CoreProcessingStepGroup
CoreProcessingStepGroup.__init__()
CoreProcessingStepGroup.__new__()
CoreProcessingStepGroup.get_kwargs()
CoreProcessingStepGroup.get_steps()
CoreProcessingStepGroup.kwargs
CoreProcessingStepGroup.process_reading()
CoreProcessingStepGroup.set_kwargs()
CoreProcessingStepGroup.set_steps()
CoreProcessingStepGroup.steps
ErrorHandling
FlagError
FlagReadingStep
InvalidDataError
Parameter
ProcessingControlResult
ProcessingError
ProcessingResult
ProcessingResultBase
ProcessingStep
ProcessingStep.__init__()
ProcessingStep.assert_valid_reading()
ProcessingStep.chain()
ProcessingStep.flag_reading()
ProcessingStep.get_parameters()
ProcessingStep.get_reading_flag_targets()
ProcessingStep.process()
ProcessingStep.process_reading()
ProcessingStep.set_next()
ProcessingStep.set_previous()
StopProcessingError
- dispel.processing.data_set module
DataSetProcessingStep
DataSetProcessingStepMixin
DataSetProcessingStepProtocol
DataSetProcessingStepProtocol.assert_valid_data_sets()
DataSetProcessingStepProtocol.flag_data_sets()
DataSetProcessingStepProtocol.get_data_frames()
DataSetProcessingStepProtocol.get_data_set_ids()
DataSetProcessingStepProtocol.get_data_sets_flag_targets()
DataSetProcessingStepProtocol.get_raw_data_sets()
DataSetProcessingStepProtocol.process_data_sets()
FlagDataSetStep
MutateDataSetProcessingStepBase
MutateDataSetProcessingStepBase.__init__()
MutateDataSetProcessingStepBase.get_transform_function()
MutateDataSetProcessingStepBase.get_transform_functions()
MutateDataSetProcessingStepBase.process_data_sets()
MutateDataSetProcessingStepBase.transform_function
MutateDataSetProcessingStepBase.wrap_result()
RawDataSetProcessingResult
StorageError
decorated_processing_function()
transformation()
- dispel.processing.data_trace module
DataTrace
DataTrace.__init__()
DataTrace.add_trace()
DataTrace.check_data_set_usage()
DataTrace.children()
DataTrace.entity_count
DataTrace.from_reading()
DataTrace.get_flags()
DataTrace.get_measure_flags()
DataTrace.get_reading()
DataTrace.has_node()
DataTrace.is_leaf()
DataTrace.leaf_count
DataTrace.leaves()
DataTrace.nodes()
DataTrace.parents()
DataTrace.populate()
DataTrace.processing_step_count
EdgeNotFound
GraphNoCycle
MissingSourceNode
NodeHasMultipleParents
NodeNotFound
- dispel.processing.epochs module
CreateLevelEpochStep
DefaultLevelEpochFilter
LevelEpochDefinitionMixIn
LevelEpochExtractStep
LevelEpochFilter
LevelEpochIdFilter
LevelEpochProcessingResult
LevelEpochProcessingStepMixIn
LevelEpochProcessingStepMixIn.__init__()
LevelEpochProcessingStepMixIn.epoch_filter
LevelEpochProcessingStepMixIn.get_epoch_data_set_view()
LevelEpochProcessingStepMixIn.get_epoch_data_set_views()
LevelEpochProcessingStepMixIn.get_epoch_filter()
LevelEpochProcessingStepMixIn.get_epochs()
LevelEpochProcessingStepMixIn.process_data_sets()
- dispel.processing.extract module
AGGREGATION_CENTER_BASED
AGGREGATION_REGISTRY
AggregateMeasures
AggregateMeasures.__init__()
AggregateMeasures.aggregate()
AggregateMeasures.aggregation_method
AggregateMeasures.error_handler
AggregateMeasures.fail_if_missing
AggregateMeasures.get_measure_ids()
AggregateMeasures.get_measure_set()
AggregateMeasures.get_measure_values()
AggregateMeasures.get_measures()
AggregateMeasures.measure_ids
AggregateMeasures.process_reading()
AggregateMeasures.yield_if_nan
AggregateModalities
AggregateRawDataSetColumn
AggregateRawDataSetColumn.__init__()
AggregateRawDataSetColumn.aggregations
AggregateRawDataSetColumn.column_id
AggregateRawDataSetColumn.get_agg_func_and_kwargs()
AggregateRawDataSetColumn.get_aggregations()
AggregateRawDataSetColumn.get_column_id()
AggregateRawDataSetColumn.get_definition()
AggregateRawDataSetColumn.get_transform_functions()
BASIC_AGGREGATIONS
DEFAULT_AGGREGATIONS
DEFAULT_AGGREGATIONS_CV
DEFAULT_AGGREGATIONS_IQR
DEFAULT_AGGREGATIONS_Q95
EXTENDED_AGGREGATIONS
ExtractMultipleStep
ExtractStep
MeasureDefinitionMixin
MeasureFlagStep
MeasureFlagStep.__init__()
MeasureFlagStep.flag_measure_values()
MeasureFlagStep.get_flag_targets()
MeasureFlagStep.get_measure_ids()
MeasureFlagStep.get_measure_values()
MeasureFlagStep.get_measures()
MeasureFlagStep.get_target_ids()
MeasureFlagStep.measure_ids
MeasureFlagStep.process_reading()
MeasureFlagStep.target_ids
agg_column()
- dispel.processing.flags module
FlagStepMixin
FlagStepMixin.__init__()
FlagStepMixin.flag_name
FlagStepMixin.flag_severity
FlagStepMixin.flag_type
FlagStepMixin.flagging_function
FlagStepMixin.get_flag()
FlagStepMixin.get_flag_name()
FlagStepMixin.get_flag_severity()
FlagStepMixin.get_flag_targets()
FlagStepMixin.get_flag_type()
FlagStepMixin.get_flagging_function()
FlagStepMixin.get_flagging_functions()
FlagStepMixin.get_reason()
FlagStepMixin.reason
FlagStepMixin.set_flag_kwargs()
FlagStepMixin.stop_processing
flag()
- dispel.processing.level module
- dispel.processing.level_filters module
- dispel.processing.modalities module
- dispel.processing.trace module
- dispel.processing.transform module
- dispel.processing.utils module