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

Use the is_scaled attribute inside of template_tools functions #2848

Merged
merged 4 commits into from
May 21, 2024

Conversation

zm711
Copy link
Collaborator

@zm711 zm711 commented May 14, 2024

Now that #2842 adds an attribute which indicates that the Templates object is scaled we should use that for the functions inside of template_tools no? If the Templates aren't scaled then we can't return scaled.

@samuelgarcia
Copy link
Member

Yes and maybe some other places like computing SNR or sparsity.
Thank you.

#2842 was merged too quickly for my taste, I did not read it!

@zm711
Copy link
Collaborator Author

zm711 commented May 14, 2024

Added sparsity. Checked SNR and it only accepts SortingAnalyzer for now.

@samuelgarcia
Copy link
Member

merci beaucoup.

@alejoe91 alejoe91 added the core Changes to core module label May 15, 2024
@samuelgarcia samuelgarcia merged commit 5a195f6 into SpikeInterface:main May 21, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Changes to core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants