-
Notifications
You must be signed in to change notification settings - Fork 11
-
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
pspm_sf has issues when processing data whose unit is defined by marker #503
Comments
I guess line 282 in pspm_sf should be replaced by win = round(events(epochs{iFile}(iEpoch, :)) * sr(datatype(k))); |
Yes, this had been implemented before your comment, but the error (which may be caused by inappropriate parameter settings) seems to be still there. I observed the data itself, and I am unsure if some settings are correct.
|
I think the whole if-else statement (line 245/262/270) can be simplified as it simply duplicates code depending on whether options.marker_chan_num is specified or not. If "options.marker_chan_num" is not specified (line 245), then this variable can be simply set to "marker", and the else statement is not further needed.
|
Many thanks. The first comment has resolved the issue now.
|
Summary
pspm_sf
is reported to have issues when processing data whosetime unit
is defined asmarker
. Further investigation is required to validate whether thewin
(line 281 in pspm_sf) is calculated correctly.The text was updated successfully, but these errors were encountered: