resurfemg.pipelines.ipy_widgets 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 Jupyter widgets to perform default procedures. NB The functions in this file required the development installation including Jupyter (see README.md)
- resurfemg.pipelines.ipy_widgets.file_select(files, folder_levels, default_value_select=None, default_idx_select=None)¶
A widget for file selection for organised/nested data. default_value_select precedes default_idx_select in default value identification. ————————————————————————— :param files: file paths tabled by the folder_levels :type files: pd.DataFrame :param folder_levels: data directory organisation, e.g. [‘patient’, ‘date’] :type folder_levels: list(str) :param default_value_select: default values to select per folder_level :type default_value_select: list(int) :param default_idx_select: default index to select per folder_level :type default_idx_select: list(int)
- Returns button_list:
file paths tabled by the folder_levels
- Rtype button_list:
[ipywidgets.widgets.widget_selection.Dropdown]