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

fix handling of synchrony columns in qualitymetrics #3549

Open
zm711 opened this issue Nov 22, 2024 · 5 comments
Open

fix handling of synchrony columns in qualitymetrics #3549

zm711 opened this issue Nov 22, 2024 · 5 comments
Labels
qualitymetrics Related to qualitymetrics module

Comments

@zm711
Copy link
Collaborator

zm711 commented Nov 22, 2024

@chrishalcrow

I'm sorry I missed this during review, but we need to find a better way of dealing with synchrony quality metrics. I just discovered that we have the names sync_spike_2 etc hardcoded, but those are named based on user input with 2,4,8 or 2,6,8 being the defaults. So we should think about a more robust way to deal with that. Not sure how, but I discovered this in #3497 and added a note in comment for us to think on it.

@zm711 zm711 added the qualitymetrics Related to qualitymetrics module label Nov 22, 2024
@alejoe91
Copy link
Member

Thanks @zm711

I agree this is hard to deal with. I would lean towards hard coding the synchrony sizes...what do you think? If someone needs some customization they would run the low level function

@zm711
Copy link
Collaborator Author

zm711 commented Nov 25, 2024

Yeah that fits with the rest of our metrics. Although I wonder if we would prefer to move this to the spike train metrics (when that is done). Synchrony should go there rather than as a metric of quality no? But yeah for now we could hard code it which would make everything easier.

@alejoe91
Copy link
Member

I would keep it in quality metrics since in my mind spike train metrics are more on a single unit spike train level :)

@chrishalcrow
Copy link
Collaborator

Hello, sorry for the delay. I agree that we should just hard code the synchrony sizes: it's gonna be a lot of pain for an edge case. I'll have a go in the next couple of days?

@zm711
Copy link
Collaborator Author

zm711 commented Nov 27, 2024

That would be amazing from my perspective. I'm super busy the next week (and it is a holiday tomorrow in the US) so I definitely won't have time to change.

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

No branches or pull requests

3 participants