pysal / momepy

Urban Morphology Measuring Toolkit
https://docs.momepy.org
BSD 3-Clause "New" or "Revised" License
465 stars 56 forks source link

Functional dimension #587

Closed u3ks closed 1 month ago

u3ks commented 1 month ago

functional dimension implementation, mostly the same code with for loops replaced by graph.apply

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.9%. Comparing base (4037c70) to head (9fa9c8c). Report is 30 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pysal/momepy/pull/587/graphs/tree.svg?width=650&height=150&src=pr&token=VNn0WR5JWT&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal)](https://app.codecov.io/gh/pysal/momepy/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) ```diff @@ Coverage Diff @@ ## main #587 +/- ## ======================================= + Coverage 97.4% 97.9% +0.5% ======================================= Files 26 37 +11 Lines 4328 5647 +1319 ======================================= + Hits 4214 5527 +1313 - Misses 114 120 +6 ``` | [Files](https://app.codecov.io/gh/pysal/momepy/pull/587?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) | Coverage Δ | | |---|---|---| | [momepy/functional/\_dimension.py](https://app.codecov.io/gh/pysal/momepy/pull/587?src=pr&el=tree&filepath=momepy%2Ffunctional%2F_dimension.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-bW9tZXB5L2Z1bmN0aW9uYWwvX2RpbWVuc2lvbi5weQ==) | `100.0% <100.0%> (ø)` | | | [momepy/functional/tests/test\_dimension.py](https://app.codecov.io/gh/pysal/momepy/pull/587?src=pr&el=tree&filepath=momepy%2Ffunctional%2Ftests%2Ftest_dimension.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-bW9tZXB5L2Z1bmN0aW9uYWwvdGVzdHMvdGVzdF9kaW1lbnNpb24ucHk=) | `100.0% <100.0%> (ø)` | | | [momepy/functional/tests/test\_diversity.py](https://app.codecov.io/gh/pysal/momepy/pull/587?src=pr&el=tree&filepath=momepy%2Ffunctional%2Ftests%2Ftest_diversity.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-bW9tZXB5L2Z1bmN0aW9uYWwvdGVzdHMvdGVzdF9kaXZlcnNpdHkucHk=) | `100.0% <100.0%> (ø)` | |