-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check Grid for Partial Spherical Coverage (#899)
* Added `contains_holes` function * o vectorize _mesh_contains_holes * Addressed discussion points * Updated API * Fixed Pre-Commit * Updated function names and docstrings * Fixed test case * Update uxarray/grid/grid.py Co-authored-by: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com> * Added descriptors, benchmarks * Update descriptors.py * Fixed Benchmarks * Fixed Benchmarks --------- Co-authored-by: Rajeev Jain <rajeeja@gmail.com> Co-authored-by: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com>
- Loading branch information
1 parent
f71e11b
commit 921dd8f
Showing
8 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,6 +210,7 @@ IO | |
Grid.to_polycollection | ||
Grid.to_linecollection | ||
Grid.validate | ||
Grid.hole_edge_indices | ||
|
||
|
||
Methods | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import numpy as np | ||
from warnings import warn | ||
|
||
|
||
from uxarray.constants import ERROR_TOLERANCE | ||
|
||
|
||
|