Skip to content

Conversation

@yger
Copy link
Collaborator

@yger yger commented Nov 13, 2025

This implements the use of sparsity to compute templates in the Analyzer. Currently, analzers can handle sparsity mask, and while they are used to compute waveforms, they are not used to estimate templates. This can lead to large memory usage with numerous threads. This PR makes sure the analyzer, if sparse, uses the sparsity masks while estimating templates ONLY in the run() method. For compatibility with downstream extensions, the internal storage is kept dense*

See #4194

@yger yger added enhancement New feature or request core Changes to core module labels Nov 13, 2025
@yger
Copy link
Collaborator Author

yger commented Nov 14, 2025

Kudo for the code rewriting... All tests are failing :-)

@samuelgarcia
Copy link
Member

@alejoe91 @chrishalcrow : this will help a lot ith very high channel count (in vitro mea).
Have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core module enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants