-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Python integration to PsPM UI #675
Conversation
Hi @MadniAbdulWahab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See email
This pull request only focuses on adding HeartPy option to the GUI. |
src/pspm_convert_ppg2hb.m
Outdated
@@ -81,96 +85,152 @@ | |||
%% Large spikes mode | |||
%-------------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header "Large spikes mode" is placed wrongly (different from PR #612) - it should precede the associated code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![image](https://private-user-images.githubusercontent.com/3895146/320619247-9e2f016f-6965-4d77-8bde-84a3b2976949.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMjQ0NzMsIm5iZiI6MTcyMjEyNDE3MywicGF0aCI6Ii8zODk1MTQ2LzMyMDYxOTI0Ny05ZTJmMDE2Zi02OTY1LTRkNzctOGJkZS04NGEzYjI5NzY5NDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjdUMjM0OTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWFjN2VlODRmOGIxZTNlODU5ZDlkNDcyYTliOTFiMGIxOTc3MGU0OTA3ZGQxZmM3NzU5N2VmZWUzZTdkMzE3MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.WyGNrii46IhOHgvNG3a8_60T29zLRGCJr0dn9r-Dz0k)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please remove this line here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #612 also contained a change to the function pspm_check_python_modules.m
. This is required to run line 113 in the current version of pspm_convert_ppg2hb
with heartpy method. Please add this change to the PR.
src/pspm_convert_ppg2hb.m
Outdated
@@ -81,96 +85,152 @@ | |||
%% Large spikes mode | |||
%-------------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please remove this line here.
add updates to check_python and check_python_modules
Updated 8-Apr-2024
Summery
Results
src/pspm_cfg/pspm_cfg_pp_heart_data.m
HeartPy
.src/pspm_cfg/pspm_cfg_python.m
pspm_cfg_python
. The function defines the path of python with automatic or manual mode. It can be used by different features (not just HeartPy). It can be called by other GUI items if Python packages are required.src/pspm_cfg/pspm_cfg_run_pp_heart_data.m
HeartPy
.src/pspm_convert_ppg2hb.m
,src/pspm_options.m