Skip to content

Commit 0c09b66

Browse files
committed
Small updates and removed unnecessary todos
1 parent 5bfdb35 commit 0c09b66

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

src/pyinterpolate/core/data_models/point_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def _get_point_support(self,
341341
self.dropped_points = not_joined_points
342342

343343
# Clean data
344-
# TODO: it shouldn't be dropped if NaN is related to blocks
344+
# TODO: test different cases when NaN is block or point support
345345
joined.dropna(inplace=True)
346346
# TODO: what if the name is None?
347347

src/pyinterpolate/distance/block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _calculate_block_to_block_distance(ps_block_1: np.ndarray,
230230
231231
TODO
232232
----
233-
* Add references equation to special part of the documentation.
233+
* Add reference equation to the special part of the documentation.
234234
"""
235235

236236
a_shape = ps_block_1.shape[0]

src/pyinterpolate/semivariogram/deconvolution/regularize.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
TheoreticalVariogram
2323

2424

25-
# TODO check line length and underscores
26-
2725
class Deconvolution:
2826
"""
2927
Class performs deconvolution of semivariogram of areal data. Whole

src/pyinterpolate/transform/select_points.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ def select_possible_neighbors_angular(possible_neighbors: np.ndarray,
254254
if len(prepared_data_with_angles) > 0:
255255
return prepared_data_with_angles
256256
else:
257-
# TODO: consider warning or error in this case
258257
return np.array([[np.nan, np.nan, np.nan, np.nan, np.nan]])
259258

260259

src/pyinterpolate/viz/raster.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ def interpolate_raster(data,
164164
coords = np.array([_x, _y])
165165
interpolation_points.append(coords)
166166

167-
# TODO add kriging of multiple points
168167
k = interpolate_points(
169168
theoretical_model=ts,
170169
known_locations=data,

0 commit comments

Comments
 (0)