haesleinhuepf / napari-process-points-and-surfaces

Process and analyze surfaces using vedo in napari.
BSD 3-Clause "New" or "Revised" License
21 stars 4 forks source link

Surface to binary #13

Closed haesleinhuepf closed 1 year ago

haesleinhuepf commented 1 year ago

Hi @jo-mueller ,

I'm adding your gist code as PR here. Please let me know if this makes sense.

Note: I had to modify it (add .tonumpy()) to make it work.

Thanks for sharing!

Best, Robert

codecov-commenter commented 1 year ago

Codecov Report

Base: 90.42% // Head: 95.48% // Increases project coverage by +5.05% :tada:

Coverage data is based on head (973a420) compared to base (49ad6f5). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== + Coverage 90.42% 95.48% +5.05% ========================================== Files 3 2 -1 Lines 303 133 -170 ========================================== - Hits 274 127 -147 + Misses 29 6 -23 ``` | [Impacted Files](https://codecov.io/gh/haesleinhuepf/napari-process-points-and-surfaces/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Robert+Haase) | Coverage Δ | | |---|---|---| | [...rocess\_points\_and\_surfaces/\_tests/test\_function.py](https://codecov.io/gh/haesleinhuepf/napari-process-points-and-surfaces/pull/13/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Robert+Haase#diff-bmFwYXJpX3Byb2Nlc3NfcG9pbnRzX2FuZF9zdXJmYWNlcy9fdGVzdHMvdGVzdF9mdW5jdGlvbi5weQ==) | `100.00% <100.00%> (ø)` | | | [napari\_process\_points\_and\_surfaces/\_\_init\_\_.py](https://codecov.io/gh/haesleinhuepf/napari-process-points-and-surfaces/pull/13/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Robert+Haase#diff-bmFwYXJpX3Byb2Nlc3NfcG9pbnRzX2FuZF9zdXJmYWNlcy9fX2luaXRfXy5weQ==) | | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Robert+Haase). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Robert+Haase)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.