Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: expose simpson and shannon #183

Merged
merged 2 commits into from
Jun 26, 2020
Merged

REF: expose simpson and shannon #183

merged 2 commits into from
Jun 26, 2020

Conversation

martinfleis
Copy link
Member

Expose the formulas for Simpson diversity and Shannon diversity so these can be used outside their classes to calculate the index for the arbitrary array.

@martinfleis martinfleis added this to the 0.3.0 milestone Jun 26, 2020
@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #183 into master will decrease coverage by 0.11%.
The diff coverage is 87.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #183      +/-   ##
==========================================
- Coverage   94.21%   94.09%   -0.12%     
==========================================
  Files          11       11              
  Lines        2663     2677      +14     
==========================================
+ Hits         2509     2519      +10     
- Misses        154      158       +4     
Impacted Files Coverage Δ
momepy/shape.py 96.47% <85.71%> (+0.01%) ⬆️
momepy/diversity.py 93.60% <87.50%> (-1.36%) ⬇️
momepy/utils.py 83.25% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8968e1b...993ac96. Read the comment docs.

@martinfleis martinfleis merged commit 102df5e into master Jun 26, 2020
@martinfleis martinfleis deleted the diversity_single_value branch June 26, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant