Skip to content

Commit aac0fbd

Browse files
authored
Merge pull request #176 from Jammy2211/feature/jax_only_triangles
Feature/jax only triangles
2 parents c161cda + ad4211e commit aac0fbd

21 files changed

+998
-1721
lines changed

autoarray/structures/triangles/abstract.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import numpy as np
44

55
from autoarray import Grid2D
6-
from autoarray.structures.triangles.shape import Shape
76

87
HEIGHT_FACTOR = 3**0.5 / 2
98

@@ -122,21 +121,6 @@ def for_indexes(self, indexes: np.ndarray) -> "AbstractTriangles":
122121
The new ArrayTriangles instance.
123122
"""
124123

125-
@abstractmethod
126-
def containing_indices(self, shape: Shape) -> np.ndarray:
127-
"""
128-
Find the triangles that insect with a given shape.
129-
130-
Parameters
131-
----------
132-
shape
133-
The shape
134-
135-
Returns
136-
-------
137-
The indices of triangles that intersect the shape.
138-
"""
139-
140124
@abstractmethod
141125
def neighborhood(self) -> "AbstractTriangles":
142126
"""

0 commit comments

Comments
 (0)