flow_stability
flow_stability copied to clipboard
wip on FlowStability instance
It might make sense to split up src/flowstab/flow_stability.py into a clustering and into a analysis management part. The sub-module is already quite large.
Coverage report
This report was generated by python-coverage-comment-action
Click to see where and how coverage changed
We should provide a single method to preforms all the steps, up to find_luvain_clustering form FlowIntegralClustering.
A compact way of running an analysis would then look like this:
- create a FlosStability instance
- fully parametrize it (either setting each parameter individually or loading parameters from a json)
- call flowstab.run(direction=1) (direction choices -1: backwards, 0: both, 1: forward)
- done
In addition it should be possible to run each step individually or adapt some parameter and re-run only the affected parts.
@alexbovet The interface class is functional and the documentation is adapted:
Then the docs:
Should we merge this?
Very nice! Thanks a lot. Could you add some info/doc on how a "my_contacts.csv" should be formatted?