Skip to content

Add rauc and derivative to signal_processing - #194

Merged
mdenker merged 6 commits into
NeuralEnsemble:masterfrom
jpgill86:signal-rauc-and-derivative
Apr 6, 2019
Merged

mdenker merged 6 commits into
NeuralEnsemble:masterfrom
jpgill86:signal-rauc-and-derivative

Conversation

@jpgill86

@jpgill86 jpgill86 commented Dec 2, 2018

Copy link
Copy Markdown
Contributor

Follow-up to #193

@pep8speaks

pep8speaks commented Dec 2, 2018 •

Copy link
Copy Markdown

Hello @jpgill86! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-04-06 17:26:59 UTC

@jpgill86

jpgill86 commented Dec 2, 2018

Copy link
Copy Markdown
Contributor Author

I still need to add tests and verify that the docs build OK.

jpgill86 added a commit to jpgill86/analysis that referenced this pull request Dec 2, 2018
@jpgill86

Copy link
Copy Markdown
Contributor Author

Alright, I added 16 new tests, all of which are passing. The failure on Travis is due to unrelated compatibility issues with Neo 0.7.0.

The docs for my two new functions also build locally.

I believe this PR is ready to be reviewed and merged.

@jpgill86 jpgill86 changed the title [WIP] Add rauc and derivative to signal_processing Add rauc and derivative to signal_processing Dec 13, 2018
jpgill86 added a commit to jpgill86/analysis that referenced this pull request Dec 13, 2018
@jpgill86

jpgill86 commented Apr 1, 2019 •

Copy link
Copy Markdown
Contributor Author

Would you like me to try rebasing this feature branch onto master to see if these test failures clear up?

EDIT: I tested the rebasing in a fork, and the Travis tests passed. 👍 Just let me know if you'd like me to do that here.

@jpgill86

jpgill86 commented Apr 2, 2019

Copy link
Copy Markdown
Contributor Author

I'm gonna move forward with rebasing these changes onto master (and squashing a few commits while I'm at it).

@jpgill86
jpgill86 force-pushed the signal-rauc-and-derivative branch from b30840f to 9557040 Compare April 2, 2019 20:43
@coveralls

coveralls commented Apr 2, 2019 •

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage increased (+0.2%) to 87.221% when pulling ceb18f8 on jpgill86:signal-rauc-and-derivative into 009e80f on NeuralEnsemble:master.

@jpgill86

jpgill86 commented Apr 2, 2019

Copy link
Copy Markdown
Contributor Author

Checks passed. 😎 Ready for review and merge.

@mdenker

mdenker commented Apr 3, 2019

Copy link
Copy Markdown
Member

Cool, thanks! I'll have a closer look tomorrow. Also thanks for adding your affiliation to the authors, I am sorry I forgot to fill that in before.

@mdenker mdenker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The functions work very well for me in testing the functions, and the documentation is very clear. There is is just a couple of very minor things I could commented on.

Comment thread elephant/signal_processing.py Resolved
Comment thread elephant/signal_processing.py Resolved
Comment thread elephant/signal_processing.py Resolved
Comment thread elephant/signal_processing.py Resolved
@mdenker

mdenker commented Apr 6, 2019

Copy link
Copy Markdown
Member

Cool, looks good and works great with the new changes.

@mdenker
mdenker merged commit a7f4d5b into NeuralEnsemble:master Apr 6, 2019
@mdenker mdenker added the enhancement Editing an existing module, improving something label Apr 6, 2019
@jpgill86

jpgill86 commented Apr 6, 2019

Copy link
Copy Markdown
Contributor Author

Hooray! Four months in the making! Would it be too much to ask for a release?

@jpgill86
jpgill86 deleted the signal-rauc-and-derivative branch April 6, 2019 18:35
@mdenker mdenker added this to the v0.6.2 milestone Apr 8, 2019
@mdenker

mdenker commented Apr 8, 2019

Copy link
Copy Markdown
Member

Yes, I agree. I'd like to put this in a follow-up to v0.6.1 the coming days, along with the 3 remaining bug-fix PRs that were not related to the unit tests and Neo 0.7.

mdenker pushed a commit that referenced this pull request Apr 11, 2019
* Replaced wrong rescaling with simplified and introduced magnitude instead of base

* Changed t_stop of spiketrain in test to cover the case of different units

* Cumulative fix for various Neo 0.7.x related issues (#203)

* Change signal's `duplicate_with_new_array` to `duplicate_with_new_data`

For compatibility with Neo 0.7.0

* Fixed error by replacing deprecated pandas function

* Quick fix due to event labels being treated as array annotations

* Quick fix due to event labels being treated as array annotations

* Fixed handling of neo 0.7 array_annotations

* Fixed requirements for neo

* Removed left-over print statement

* Added a hot fix to circumtvent Neo problem in generating fake epochs

* Added fixed Neo Version 0.7.x

* Fixed failing test in spike_train_correlation by alternate numpy construct.

* Removes static dependencies on readthedocs envioronment file conflicting with readthedocs.org (#205)

* Removed setuptools from requirements

* Removed all fixed packages from doc environment

* Further simplified new environment.yml for RTD

* Changes for compatibility release 0.6.1 (#204)

* Changes for compatibility release 0.6.1

* Added release notes

* Add rauc and derivative to signal_processing (#194)

* Fix typo in docstring

* Replace some deprecated aliases

* Add rauc and derivative to signal_processing

* Apply suggestions from code review

Co-Authored-By: jpgill86 <[email protected]>

* Similar changes based on code review

* Ensure rauc output signal has same time units as input

* Replaced wrong rescaling with simplified and introduced magnitude instead of base

* Changed t_stop of spiketrain in test to cover the case of different units

* Removed print
jpgill86 added a commit to jpgill86/analysis that referenced this pull request Apr 25, 2019
jpgill86 added a commit to jpgill86/analysis that referenced this pull request Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Editing an existing module, improving something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants