-
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 channel loading logic in GUI #666
Conversation
Questions that are mentioned on the PsPM meeting
|
Corrections
|
src/pspm_convert_hb2hp.m
Outdated
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.
In this file and pspm_convert_ecg2hb
, channel
was set up as an independent variable, whilst in pspm_convert_ecg2hb_amri
, channel
is a field in options
. It could be written intentionally in this way. I do not know if it is good to make these consistent.
@@ -285,10 +204,10 @@ | |||
ppg2hb_method.help = {['Convert the PPG data into heart rate by using the selected method.']}; | |||
|
|||
ppg2hb = cfg_exbranch; | |||
ppg2hb.name = 'Convert peripheral pulse oximetry to Heart Beat'; | |||
ppg2hb.name = 'Convert peripheral pulse oximetry (PPG) to Heart Beat'; |
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.
I add (PPG)
here because "peripheral pulse oximetry" is not a very common name.
src/pspm_cfg/pspm_cfg_pp_scr.m
Outdated
end | ||
end | ||
scr_pp_options.channel_action = job.chan_action; | ||
[sts, output] = pspm_scr_pp(scr_pp_datafile, scr_pp_options, scr_pp_options.channel); |
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.
I correct this file by adding scr_pp_options.channel
. In pspm_scr_pp
, channel
is an independent variable from options
.
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.
Hi @dominikbach Please have a look at: #666 (comment) and merge if you are happy with the current GUI test results. There are some issues #666 (comment)
src/pspm_cfg/pspm_cfg_tools.m
Outdated
@@ -3,7 +3,7 @@ | |||
cfg.name = 'Tools'; | |||
cfg.tag = 'tools'; | |||
cfg.values = {pspm_cfg_display, pspm_cfg_rename, pspm_cfg_split_sessions, ... | |||
pspm_cfg_merge, pspm_cfg_artefact_rm, pspm_cfg_downsample, pspm_cfg_interpolate, ... | |||
pspm_cfg_merge, pspm_cfg_artefact_rm, pspm_cfg_interpolate, ... | |||
pspm_cfg_extract_segments, pspm_cfg_segment_mean, pspm_cfg_get_markerinfo, ... | |||
pspm_cfg_data_editor, pspm_cfg_data_convert}; |
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.
pspm_cfg_data_convert
does not exist. Shall we create it or remove convert data
from Tools? I am confused about why it is there.
…into gui-channel-update
Fixes #609 .
Changes proposed in this pull request:
pspm_cfg_channel_selector
Single channel selection:
Modality-agnostic channel selection
Eyetracker channel selection
multiple channels
pspm_cfg_combine_markerchannels
removed unused functions
pspm_downsample
and associated GUI itemsremoved unused option "simple SCR artefact removal" from
pspm_cfg_artefact_rm
removed superseded GUI item
pspm_cfg_data_convert
--
fixed some bugs