Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix typo * [Git actions] : add linting, type checking and code coverage. * Rename requirements file * Update codecov.yml * Fix Git action for code coverage * Add citation in the text * Git actions: using pytest-cov and another black version * Fix test workflow * added plot_rsp() to plots, backends, init, test_plots * liting fix * First version of the BIDS report module. - Create individual HTML reports, summary dataframes and physio dataframes. - Create group-level HTML reports. * [Git Actions] : Remove unused package from testing. * Fix linting package error. * [tests] : close Matplotlib figures after test to avoid memory overload. * Formatting issue in README * [reports] : Add command line functionalities. * [reports] : Add show_raw parameter and set to False as defaults to save memory. * [reports] : load participants ID automatically if not provided. * [utils] : Add a nan_cleaning function that can be called before peaks detection (optional). * [PPG] : Add a find_clipping function to automatically find clipping threshold. This function is called by ppg_peaks when clipping=True and clipping_threshold="auto". [detection]: ecg_peaks, ppg_peaks and rsp_peaks accept pd.Series as input. Defalt input variable named signal for consistency. * [notebooks] : Clean imports, fix use of interpolate_clipping and use keyword args. * Minor API docs. * [detection] : remove default values for `sfreq` and standardize outputs for the 3 modalities. * Doctrings and minor change in tests. * [hrv] Minor fix: use pd.concat instead of the append method. * [correction] : Add a correct_ectopic_peaks to correct pseudo-ectopic heart beatd in peaks vector. * [plots] : plot_raw accept a `decim` parameter to control raw signal downsamplig. * Use pd.concat * Use pd.concat * Move the tables function into the reports sub-module. Update the reports function to current (non working) version. * [plots] Improve plot_events and its integration with plot_rr. * [plots]: fix plot_evoked and allow to pass arguments to seaborn.lineplot more easily. * [detection]: Add sleepecg peak detector as default for Systole * [plots]: plot_raws now accept an events_params parameter to be passed to plot_rr. * Add sleepecg in the requirements * Drop CI for Python 3.7 * Update pre-commit * [reports]: Add logs for artefatcs in the subject level function. * [test] : Fix error in plot_raw * Fix CI error (black) * Minor fixes * [reports] : Add artefacts visualization at the group level. * [reports] Use Joblib for paralellization. * [detection] - PPG: change `noise_removal` to moving_average and add a `moving_average_length` parameter to control the window length. - Fix interpolate_clipping() as it was not handling thresholds correctly if the provided threshold is not the max/min of the time series. * Fix the test after clipping error. * [requirements]: include Numpy 1.21 * [reports] : The command line function find the relevant files automatically. The signals are automatically trimmed when starting and ending times are provided. Also start using pathlib instead of strings for paths. * Typos and changelogs. * - Fix bug in interpolate_clipping() and add corresponding tests - Linting * [detection] : interpolate_clipping - fix the way first and last values are corrected. Look at all values more/less or equal than thr and substract the smallest diff from the time serie. * [plots] : Minor change in matplotlib defaults * Update pre-commit config * Fix formatting and mypy errors * Add Git action for automated docs deployment (first trial). * [docs] : Fix small errors in the examples * [docs] : Drop Psychopy import in the examples * isort config file * Update the requirement files. * [docs] : - Automatic docs construction now working and moved to https://embodied-computation-group.github.io/systole/ - Minor fixes in the docstrings * Update notebooks * Remove docs api example from the code base. * Update docs link * Remove the findOximeter function #8 * [docs]: link to paper * CI minor updates * [plots]: Fix decim function and error in the docstring examples. * [correction] : Rewrite correct_missed (to correct_missed_rr) and correct_extra (to correct_extra_rr) to better control for RR insertion and deletion. Rewrite correct_rr. All interpolations in a single pass. All function use jit. (see #40). Update pre-commit hooks. * [correction] : Add extensive testing suite for correct_extra_rr, correct_missed_rr and correct_rr (#40). * [correction] : Fix errors in the arrays update for missed and etra peaks. Update the corresponding notebooks. Add entry in changelogs (#40). * Fix mypy errors * [correction] : Update the dcumentation for API changes. * changelogs * [docs] : Add instruction for using dev branch * [reports] : Fix defaults paths and add the patterns parameter for more flexibility in the files selection. * [docs] : Add docs for BIDS folder. * Update requirements.txt. Fix reports tests. * [viewer] : Add first version of Systole viewer for manual peaks correction. * [docs] Myst parser * [viewer] : Use empty path names by default. * [viewer] : more docs and small fix * [docs] : Reorganize folders * [plots] : plot_subspaces accepts an ax argument. * Autodocs link * [test] : Remove notebooks from the test suite now that we have autodocs jobs (for now). * Links * Change version to 0.2.3dev * [reports] : Use the file name from the BIDS folder to save derivatives. This will avoid duplicates in case of different patterns been used. * [reports] : Automatically retrieve file_name template when creating group level reports. * [docs] Image link * [viewer] : Automatically loading and processing data depending on the modality. * [viewer] : Create method for plotting and add some aesthetic features. * [viewer] : Fix several errors during import and add more menues in the Viewer. * [viewer] : Add option to mark the signal or segments of the signal as bads. * [plots] Prepare merge plot_raw and plot_resp and remove tight layout from the deault. * [plots] : Error in plot_raw * [viewer] : Fix save button * [viewer] : Better output when files are not found. * [viewer] : Error with the logs of bad segments. * [plots] : Add possibe `bad_segments` parameter as input for plot_raw and plot_rr. * [plots] : Merge plot_resp into plot raw. Use modality strings defined at the package level. [viewer] : allow full file name to be provided. * [pre-commit] Autoupdate * Typing * docstring * [utils] : Add tools to handle bad segments and use it in the plotting functions. * [requirements] : last pydata theme * Add docs. * Fix bad_segments utills (flake8 error) * requirements (bibtex) * Use sleepecg as default R-peaks detector * [docs] * [docs] * [docs] More examples * [docs] Links * [docs] plotting examples * [docs] * [docs] * [viewer] : Save the entire corrected peaks. Load corrected peaks and bad segments automatically with signal. * [viewer] : fix file name for corrected peaks. * Add import function for manually corrected peaks (#41) * [docs] Pair noteboks with md files * dev version * [viewer] : Fix the way corrected peaks are imported. * [docs] Citations * Rename ref.bib * [reports] : Improve the reports and fix filename error. * [reports] : Save a JSON and the raw signal in the preprocessed folder. * [viewer] : Retrieve the list of participants from the folder names. * [docs] documenting Viewer usages * [docs] remove citation that is not rendering correctly * [docs] images links * version bump Co-authored-by: alexvasilichi <alexandrina.vasilichi@maxplanckschools.de> Co-authored-by: Leah banellis <94465218+lbanellis@users.noreply.github.com>
- Loading branch information