AllenNeuralDynamics / AllenNeuralDynamics/neuron-tracing-utils

FYI: Major refactoring ahead

Đang mở
#3 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
3
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

@carshadi, just to let you know that there have been some major refactoring of SNT's Path class:
Basically in SNT 5.0 all of the archaic arrays holding every single feature of path nodes have been replaced with a single list of PathNode objects. Quick tests on the demo datasets show faster A* searches under less memory (~20-30% for both).

I am convinced that things work smoother now with pyimagej because the architecture is streamlined significantly.

The old startJoins, startJoinsPoint fields, etc. are deprecated. They _should_ still work, but if you run into issues the new equivalent methods/fields are hopefully more intuitive:

```
Path.getStartJoins -> Path.getParentPath()
Path.getStartJoinsPoint() -> Path.getBranchPoint()
Path.setStartJoin(parentPath, branchPoint) -> Path.setBranchFrom(parentPath, branchPoint)
Path.disconnectFromAll() -> Path.detachFromParent()
````

Also, `Path.createCircles()` and a bunch of other methods related to radii are no longer needed and do nothing now.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.