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

Add amplitude discriminator parameter for extrema type (peak or trough), and epoch annotation for SpikeTrain #284

Merged
merged 2 commits into from
Dec 22, 2020

Conversation

jpgill86
Copy link
Owner

@jpgill86 jpgill86 commented Dec 22, 2020

The new type parameter allows the default types (peaks for amplitude windows with positive bounds; troughs for negative bounds) to be overridden. It also permits amplitude windows spanning zero (negative lower bound and positive upper bound), for which the type cannot be inferred automatically. See the documentation for details.

This PR also adds an "epoch" annotation to a detected spike train if the amplitude discriminator filtered the spikes by epoch type.

The new `type` parameter allows the default types (peaks for amplitude windows with positive bounds; troughs for negative bounds) to be overridden. It also permits amplitude windows spanning zero (negative lower bound and positive upper bound), for which the type cannot be inferred.
@jpgill86 jpgill86 added the enhancement New feature or request label Dec 22, 2020
@jpgill86 jpgill86 added this to the 1.5.0 milestone Dec 22, 2020
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 64.377% when pulling c95a55f on amplitude-discriminator-type into 9e2d685 on master.

@jpgill86 jpgill86 merged commit 55e4ef8 into master Dec 22, 2020
@jpgill86 jpgill86 deleted the amplitude-discriminator-type branch December 22, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants