-
Notifications
You must be signed in to change notification settings - Fork 14
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
384 deprecate toitoilim and foifoilim for selectdata #385
384 deprecate toitoilim and foifoilim for selectdata #385
Conversation
- also introduced new class attribute `_selectionKeyWords` - to sort out relevant keywords per data class - TODO: repair the myriads of failing tests Changes to be committed: modified: syncopy/datatype/base_data.py modified: syncopy/datatype/continuous_data.py modified: syncopy/datatype/discrete_data.py modified: syncopy/datatype/methods/selectdata.py modified: syncopy/tests/test_selectdata.py
- now on to the rest.. Changes to be committed: modified: syncopy/datatype/base_data.py modified: syncopy/datatype/continuous_data.py modified: syncopy/tests/test_selectdata.py
- previous commit just dealt with `test_general()` Changes to be committed: modified: syncopy/datatype/methods/selectdata.py modified: syncopy/tests/test_selectdata.py
- we don't support unbounded [1, np.inf] interval selections anymore - could be reintroduced if there's a user demand Changes to be committed: modified: syncopy/datatype/base_data.py modified: syncopy/tests/test_continuousdata.py
Changes to be committed: modified: syncopy/datatype/methods/definetrial.py modified: syncopy/tests/test_discretedata.py
- passing plotting, preproc, resampledata Changes to be committed: modified: syncopy/shared/latency.py modified: syncopy/tests/helpers.py modified: syncopy/tests/test_plotting.py modified: syncopy/tests/test_preproc.py modified: syncopy/tests/test_resampledata.py modified: syncopy/tests/test_specest_fooof.py
- connectivity and metadata tests passing
- TODO: the final boss enemy: test_specest Changes to be committed: modified: syncopy/datatype/continuous_data.py modified: syncopy/tests/test_computationalroutine.py modified: syncopy/tests/test_spike_psth.py
- that was a mean bug Changes to be committed: modified: syncopy/shared/computational_routine.py
- victory is ours Changes to be committed: modified: syncopy/tests/test_specest.py
- frontends don't wipe anymore.. Changes to be committed: modified: syncopy/shared/computational_routine.py modified: syncopy/tests/test_specest.py
- also catched missing single frequency selection Changes to be committed: modified: syncopy/datatype/base_data.py modified: syncopy/tests/test_connectivity.py
Changes to be committed: modified: syncopy/plotting/sp_plotting.py modified: syncopy/tests/test_plotting.py
- removed support for np.inf entry Changes to be committed: modified: syncopy/datatype/base_data.py modified: syncopy/tests/test_connectivity.py modified: syncopy/tests/test_selectdata.py
Codecov ReportBase: 69.82% // Head: 68.59% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev #385 +/- ##
==========================================
- Coverage 69.82% 68.59% -1.23%
==========================================
Files 78 78
Lines 9460 9403 -57
Branches 1931 1920 -11
==========================================
- Hits 6605 6450 -155
- Misses 2379 2448 +69
- Partials 476 505 +29
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks a lot for this change, which brings us closer to fieldtrip! I have read through all the changes, and I am currently testing it locally.
|
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.
Thanks a lot for this change!
Thanks for the final fixes and the quick merge 🙂 ! |
Make
selectdata
more similar toft_selectdata.m
toi/toilim
andfoi/foilim
gone in favor oflatency
andfrequency
as in ft_selectdatatoi
andtoilim
were tolerant if the upper or lower boundary were outside of the range of a trial time, leading to inconsistent or at least intransparent resultslatency
either throws an error if no trial fits, or kicks out trials which are not fitting to the desired time window retaining only the fitting trialslatency
selection now returns timelocked data , which should be pretty neat to continue with a freqanalysis and so on..toi
andfoi
selections need to be tested anymoreImportant
foi/foilim
andtoi/toilim
remain valid parameters forfreqanalysis
, as also in ft_freqanalysisfoi/foilim
remain valid forconnectivityanalysys
if a mtmfft spectral estimation is to be done on the fly from anAnalogData
inputAuthor Guidelines
Reviewer Checklist