Repository navigation
Tests for the last sample in eeg_lat2point and pop_select - #17
Merged
Merged
Conversation
Tests for sccn/eeglab issue 1001: the last sample is not out of range at 250 Hz, and pop_select returns the requested point range when it ends one sample before the end. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two tests for sccn/eeglab issue 1001, where
pop_selectkept the last sample of a recording at 250, 500 and 1000 Hz although the point range ended one sample before it.eeg_lat2point/pass_roundoff.m: at 250, 500 and 1000 Hz the last sample comes out oneepsabove the maximum and must not be flagged as out of range. A point one thousandth of a sample after the end, in the same call, must still be replaced and flagged, and must raise an error with'outrange', 0. With time limits around 1e12 s, where oneepsis more than a sample, a point one sample after the end must still be flagged.pop_select/pass_lastsample.m: on 10 samples at 100, 250, 256, 500 and 1000 Hz,pop_select(EEG, 'point', [a 9])returns samplesato 9, and[2 10]keeps the last sample.eeglabsubmodule, so these two tests fail here until the EEGLAB pull request is merged and the submodule is updated. Please merge this one after that.— orchestrator
🤖 Generated with Claude Code