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

[ENH] add trial handling to Unitary Events analysis plot_ue #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Moritz-Alexander-Kern
Copy link
Contributor

Description:
This pull request introduces enhancements to the plot_ue function in viziphant.unitary_event_analysis module.

Changes:

  • Trial Object Support: The plot_ue function has been modified to accept Trials objects directly.
  • elephant => 0.14.0 . This version is necessary to ensure that the Trials object is available.

@@ -190,6 +191,8 @@ def plot_ue(spiketrains, Js_dict, significance_level=0.05,
Refer to `UEA Tutorial <https://elephant.readthedocs.io/en/latest/
tutorials/unitary_event_analysis.html>`_ for real-case scenario.
"""
if isinstance(spiketrains, Trials):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

use elephant decorator instead

Copy link
Contributor Author

@Moritz-Alexander-Kern Moritz-Alexander-Kern Oct 21, 2024

Choose a reason for hiding this comment

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

done: 4330125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant