Skip to content

Test for pop_select point ranges at 300, 1024, 2048 and 30000 Hz - #20

Open
arnodelorme wants to merge 2 commits into
masterfrom
agent/eeglab-issue-1007
Open

arnodelorme wants to merge 2 commits into
masterfrom
agent/eeglab-issue-1007

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Regression test for sccn/eeglab issue 1007 (pop_select keeps the last sample at 300, 1024, 2048 and 30000 Hz from eeg_point2lat rounding).

  • pop_select/pass_point2lat.m: on 10 and on 37 samples at 300, 1024, 2048 and 30000 Hz, checks that pop_select(EEG, 'point', [a n-1]) returns samples a to n-1, checks boundary latencies and durations with int32 point inputs, checks [3 n], and checks 'nopoint' and 'rmpoint' on [n n] (which failed on 10 samples at 1024 Hz), checks that a region after the end of the data ('nopoint', [n+1 n+1]) still removes nothing, and checks that an event on the first removed sample is removed with it (it was kept at 1024 Hz).
  • Result in MATLAB R2025b: fails on EEGLAB develop (579a27d0d) and passes with the pop_select.m fix on agent/issue-1007 (b887b4c35). All 46 other passing tests in the neighbouring popfunc, sigprocfunc and adminfunc folders still pass.
  • Order of merging: this repository tests the EEGLAB commit of its eeglab submodule, so please merge this pull request after sccn/eeglab pull request 1008 is merged and the submodule is updated.

— orchestrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant