Skip to content

Conversation

@samuelgarcia
Copy link
Member

Add sparsity_mask option in estimate_templates_with_accumulator()

Copy link
Collaborator

@yger yger left a comment

Choose a reason for hiding this comment

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

Great, but there will then be a missing function to quickly create Templates from compressed dense_arrays obtained with a given sparsity_mask. Because currently, the Templates object can only be created from dense. Maybe adding a Templates.from_sparse() constructor ?

@samuelgarcia
Copy link
Member Author

@yger you can already create a sparse template using the standard constructor

@yger
Copy link
Collaborator

yger commented Nov 10, 2025

Yes, my bad, this looks good to me!

@samuelgarcia samuelgarcia merged commit 3abb033 into SpikeInterface:main Nov 12, 2025
15 checks passed
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.

3 participants