resurfemg.helper_functions.data_classes_quality_assessment module

Copyright 2022 Netherlands eScience Center and University of Twente Licensed under the Apache License, version 2.0. See LICENSE for details.

This file contains the quality assessment methods for data classes.

resurfemg.helper_functions.data_classes_quality_assessment.initialize_emg_tests(timeseries, peak_set_name, cutoff, skip_tests, parameter_names)

Initialize local parameters. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.initialize_linked_peaks_tests(timeseries, peak_set_name, linked_timeseries, linked_peak_set_name, cutoff, skip_tests, parameter_names)

Initialize local parameter. See TimeSeries.test_linked_peak_sets method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.initialize_pocc_tests(timeseries, peak_set_name, cutoff, skip_tests, parameter_names)

Initialize local parameters. See TimeSeries.test_pocc_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_aub(timeseries, peak_set, quality_outcomes_df, quality_values_df, cutoff)

Test percentage area under the baselineSee TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_consecutive_poccs(timeseries, peak_set, quality_outcomes_df, parameter_names)

Test for consecutive Pocc manoeuvres. See TimeSeries.test_pocc_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_curve_fits(timeseries, peak_set, quality_outcomes_df, quality_values_df, cutoff, parameter_names)

Test curve fit. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_event_timing(timeseries, native_peak_set, linked_timeseries, linked_peak_set, quality_outcomes_df, quality_values_df, cutoff)

Test event timing relative to other peak_set. See TimeSeries.test_linked_peak_sets method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_fraction_detected_breaths(native_peak_set, linked_time_series, quality_outcomes_df, quality_values_df, n_peaks, cutoff, parameter_names)

Test detected peak fraction. See TimeSeries.test_linked_peak_sets method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_interpeak_distance(timeseries, peak_set, quality_outcomes_df, n_peaks, cutoff)

Test interpeak distance. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_pocc_upslope(timeseries, peak_set, quality_outcomes_df, quality_values_df, cutoff, parameter_names)

Test for sudden Pocc release. See TimeSeries.test_pocc_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_relative_aub(peak_set, quality_outcomes_df, cutoff)

Test the relative area under the baseline. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_relative_etp(peak_set, quality_outcomes_df, cutoff, parameter_names)

Evaluate extremely low and high timeproducts. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.

resurfemg.helper_functions.data_classes_quality_assessment.test_snr(timeseries, peak_set, quality_outcomes_df, quality_values_df, cutoff)

Test signal-to-noise ratio. See TimeSeries.test_emg_quality method in resurfemg.data_connector.data_classes for more information.