biopsykit.utils.legacy_helper module

Module providing helper functions to convert old BioPsyKit export files to new export formats.

biopsykit.utils.legacy_helper.legacy_convert_hr_phase_dict(file_path, export=True)[source]

Legacy conversion for HeartRatePhaseDict.

Legacy conversion includes changing the column name from “ECG_Rate” into “Heart_Rate”.

Parameters
Returns

The converted HeartRatePhaseDict, if export is False

Return type

HeartRatePhaseDict