Skip to content

Commit

Permalink
Speed up network generation (#319)
Browse files Browse the repository at this point in the history
* sped up tl.generate_network

turns out .groupby is a lot faster than trying to loop it like how it's currently working.

* shh

* Update _network.py

* ok this is the correct place to adjust

* Revert "Update _network.py"

This reverts commit 2a6ad82.

* does this speed up?

* add option to only generate expanded network

* Update api.rst

* Update _network.py

* unnecessary copy

* Update test_mouse.py

fix regression

* Update _network.py

* fix error
  • Loading branch information
zktuong committed Oct 5, 2023
1 parent d63b2f0 commit bf15aed
Show file tree
Hide file tree
Showing 4 changed files with 448 additions and 339 deletions.

0 comments on commit bf15aed

Please sign in to comment.