Skip to content
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

Preproc hilbert + rectification + FIRWS tests #264

Merged
merged 19 commits into from
Apr 12, 2022
Merged

Conversation

tensionhead
Copy link
Contributor

Author Guidelines

  • Is the change set < 400 lines?
  • Was the code checked for memory leaks/performance bottlenecks?
  • Is the code running locally and on the ESI cluster?
  • Is the code running on all supported platforms?

Reviewer Checklist

  • Are testing routines present?
  • Do parallel loops have a set length and correct termination conditions?
  • Do objects in the global package namespace perform proper parsing of their input?
  • Do code-blocks provide novel functionality, i.e., no re-factoring using builtin/external packages possible?
  • Code layout
    • Is the code PEP8 compliant?
    • Does the code adhere to agreed-upon naming conventions?
    • Are keywords clearly named and easy to understand?
    • No commented-out code?
  • Are all docstrings complete and accurate?

Changes to be committed:
	modified:   syncopy/preproc/compRoutines.py
	modified:   syncopy/preproc/preprocessing.py
- probably not the best idea..

Changes to be committed:
	modified:   syncopy/preproc/preprocessing.py
Merge Preproc tests into rectify/hilbert branch
- new flag `rectify` for the preprocessing frontend

Changes to be committed:
	modified:   syncopy/preproc/compRoutines.py
	modified:   syncopy/preproc/preprocessing.py
- supports all output types of FT

Changes to be committed:
	modified:   syncopy/preproc/compRoutines.py
	modified:   syncopy/preproc/preprocessing.py
Changes to be committed:
	modified:   syncopy/preproc/preprocessing.py
- after butterworth filtering
- we should also make sure, that such try/except blocks
really do reach the exception..

Changes to be committed:
	modified:   syncopy/tests/test_preproc.py
- test_but_kwargs now tests for all 3 cases for the order parameter

Changes to be committed:
	modified:   syncopy/tests/test_preproc.py
- mostly recycled Butterworth tests for firws

Changes to be committed:
	modified:   syncopy/preproc/compRoutines.py
	modified:   syncopy/tests/test_preproc.py
@tensionhead tensionhead added the Tests Test need to be written for the issue/feature label Apr 11, 2022
@tensionhead tensionhead added this to the preproc milestone Apr 11, 2022
@tensionhead tensionhead requested a review from pantaray April 11, 2022 10:38
- locally an accuracy of 1e-12 was no problem, not sure what is
happening but maybe this helps
Copy link
Member

@pantaray pantaray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice feature addition and clever use of "nested" computeFunction calls.

syncopy/preproc/compRoutines.py Show resolved Hide resolved
syncopy/preproc/preprocessing.py Outdated Show resolved Hide resolved
syncopy/preproc/preprocessing.py Show resolved Hide resolved
syncopy/preproc/preprocessing.py Show resolved Hide resolved
syncopy/preproc/preprocessing.py Show resolved Hide resolved
syncopy/tests/test_preproc.py Outdated Show resolved Hide resolved
syncopy/tests/test_preproc.py Outdated Show resolved Hide resolved
syncopy/tests/test_preproc.py Outdated Show resolved Hide resolved
syncopy/tests/test_preproc.py Outdated Show resolved Hide resolved
syncopy/tests/test_preproc.py Show resolved Hide resolved
tensionhead and others added 3 commits April 11, 2022 16:34
Changes to be committed:
	modified:   syncopy/preproc/preprocessing.py
	modified:   syncopy/tests/test_preproc.py
- capitalized Hilbert

 On branch preproc-hilbertrect
 Changes to be committed:
	modified:   syncopy/preproc/compRoutines.py
	modified:   syncopy/preproc/preprocessing.py
@pantaray
Copy link
Member

Good to merge from my end!

- even though we have extremely good precision with Mukesh' input now,
the convergence for our own test data got worse :/

Changes to be committed:
	modified:   syncopy/nwanalysis/wilson_sf.py
	modified:   syncopy/tests/backend/test_conn.py
@tensionhead tensionhead merged commit 83358de into dev Apr 12, 2022
@tensionhead tensionhead deleted the preproc-hilbertrect branch April 13, 2022 12:33
@pantaray pantaray restored the preproc-hilbertrect branch April 13, 2022 12:45
@tensionhead tensionhead deleted the preproc-hilbertrect branch April 22, 2022 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Test need to be written for the issue/feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants