-
Notifications
You must be signed in to change notification settings - Fork 93
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
[Feature] Merging "Total spiking probability edges" into elephant #560
[Feature] Merging "Total spiking probability edges" into elephant #560
Conversation
Hey 👋 I hope I'll hear from you soon :) |
Hey @zottelsheep It's great to hear that you're making progress on this 🙂 . I would be more than happy to assist you with the data part. Can you please let me know where I can find the data ? Once I have that, I can help you get the test-data into the repositories, so you can finish the TSPE test and merge the changes. Is this the relevant data? (zottelsheep /tspe-python/reference): https://github.com/zottelsheep/tspe-python/tree/main/reference Alternatively you can:
I already started reviewing the current implementation, I will deliver the the review soon. |
Perfekt 👍 Yes, all relevant data is in the folder |
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.
Hello @zottelsheep,
Great job so far! I have some minor comments regarding code style conventions and naming. It would be best to follow a line length of 79 characters per line to improve readability.
Once you finished the implementation, feel free to also add yourself to the list of authors, here: doc/authors.rst and the .zenodo.json with your orcid.
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
Thanks for the review @Moritz-Alexander-Kern ! I would also like to commit the test-code for tspe, but I still don't know how to access the data-repository from within pytest. Is there a guide somewhere? I didn't find anything in the contribution guidelines. |
Found a way using |
Hi @zottelsheep , Thank you for your patience, it's great to hear that you've committed the changes and added further documentation. Regarding your question about accessing the data-repository, you found the the way I would have recommended to download the datasets using ´elephant.datasets.download_datasets´. 💯 As for uploading the data into the data-repository: I created a PR on elephant-data, see: Before we can proceed with merging the PR, it's important to confirm that the data is correct. Could you please make sure it's accurate and complete (specifically |
LGTM! |
Hey @zottelsheep , Thank you for this nice contribution to Elephant. I would like to include your ORCID to properly credit your work and ensure that your contributions are recognized in the next Zenodo release, see also: Is this your ORCID: https://orcid.org/0009-0003-9352-9826 ? I will come back soon with the results of the review. If you have any further questions, please don't hesitate to reach out. |
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.
Hey @zottelsheep ,
Here is an initial review focusing on code style and other formal aspects. Kindly grant me some additional time to thoroughly examine the code for a comprehensive scientific review of the new functionality.
Thanks again for this contribution.
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
elephant/functional_connectivity_src/total_spiking_probability_edges.py
Outdated
Show resolved
Hide resolved
Hey @zottelsheep , I fixed the pep8 issues and converted the tests using the unitest frame. You can merge those changes, by approving this PR: zottelsheep#1 |
Total spiking probability edges , fix pep8 issues, refactor unittests
Thanks for merging @zottelsheep 🎉 . Ready to be merged into elephant from my side. |
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.
Build wheels.
I approved and merged the PR. Thank you very much @Moritz-Alexander-Kern! I've been rather busy with my bachelorthesis at the moment, and haven't had much time yet to look at the state of the PR. LGTM as well! |
No worries, thanks for your work and all the best for your thesis 🚀 |
Send it 🚀 😃 |
Hey @Moritz-Alexander-Kern, |
Hey @zottelsheep, Thanks for your patience and for reaching out about the status of your pull request. The delay in merging it; was because we were deeply engaged in working on the release of version 1.0.0, a major milestone for our project. This PR is scheduled for the upcoming release. Additionally, we'd like to properly credit your work by adding your ORCID to ensure recognition in the next Zenodo release. Is this your correct ORCID: https://orcid.org/0009-0003-9352-9826? |
Hello @zottelsheep! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-02-23 15:55:00 UTC |
Great to hear! Yes that is my ORCID. I've included my information in the |
Summary:
TSPE enables the classification of excitatory and inhibitory synaptic effects using a connectivity estimation. It uses the cross-correlation of spiketrains at different delays combined with specially designed Edge-Filters to distinguish between excitatory and inhibitory connections.
Related issue: #557
Currently implemented:
Not sure if working correctly.
Current tests implemented for:
The test is implemented, but currently not pushed because I need help where to put the evaluation data
What remains to be done: