-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves the three example graphs `arlo_graph`, `toy_graph` and `toy_hypergraph` into `motile.data`, similar to e.g. `skimage.data`. It seems useful to have a one-liner to get some small `TrackGraph` when prototyping in motile. Creating and plotting a graph now works as follows: ```python from motile import data, plot graph = data.arlo_graph() plot.draw_track_graph(graph) ``` Graphs specific to a certain test can live directly in that test module.
- Loading branch information
1 parent
8defb53
commit 0b91579
Showing
5 changed files
with
80 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from .solver import Solver | ||
from .track_graph import TrackGraph | ||
from . import data | ||
|
||
__all__ = ["Solver", "TrackGraph"] | ||
__all__ = ["Solver", "TrackGraph", "data"] | ||
__version__ = "0.1.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters