twoD/export
Functions specifically related to exporting the analysis results of 2D recordings
get_all_bout_ids
get_all_bout_ids (df:pandas.core.frame.DataFrame, event_type:str)
get_bout_duration_per_bout_id
get_bout_duration_per_bout_id (df:pandas.core.frame.DataFrame, event_type:str, event_ids:List[float])
get_column_values_at_event_borders
get_column_values_at_event_borders (df:pandas.core.frame.DataFrame, event_type:str, event_ids:List[float], column_name:str)
get_distance_covered_per_event
get_distance_covered_per_event (df:pandas.core.frame.DataFrame, event_type:str, event_ids:List[float], marker_id:str)
get_interval_start_and_end_time_per_event
get_interval_start_and_end_time_per_event (df:pandas.core.frame.DataFram e, event_type:str, event_ids:List[float], framerate:float)
create_session_overview_df
create_session_overview_df (dfs_to_export_with_individual_bout_dfs:Dict[s tr,pandas.core.frame.DataFrame])
get_bout_id_splits_depending_on_direction
get_bout_id_splits_depending_on_direction (df:pandas.core.frame.DataFram e)
get_column_name_from_substring
get_column_name_from_substring (all_columns:List[str], substring:str)
add_results_to_session_overview
add_results_to_session_overview (session_overview:Dict, df:pandas.core.frame.DataFrame, event_type:str, event_prefix:str, bout_ids:List[float])
create_parameter_settings_df
create_parameter_settings_df (logs:Dict)
write_xlsx_file_to_disk
write_xlsx_file_to_disk (base_output_filepath:pathlib.Path, dfs_to_export:Dict[str,pandas.core.frame.DataFra me])