Skip to content

Commit 95c2b56

Browse files
committed
fix: write out all upareas
1 parent 6af40a3 commit 95c2b56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hat/station_mapping/station_mapping.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def conduct_mapping(
2828
closest_indxs = np.empty(num_stations, dtype=int)
2929
closest_indys = np.empty(num_stations, dtype=int)
3030
errors = np.empty(num_stations, dtype=float)
31+
closest_areas = np.empty(num_stations, dtype=float)
32+
best_areas = np.empty(num_stations, dtype=float)
3133

3234
for i in range(num_stations):
3335
station_x, station_y = station_coords1[i], station_coords2[i]
@@ -117,5 +119,7 @@ def conduct_mapping(
117119
closest_indys[i] = closest_idy
118120

119121
errors[i] = best_error
122+
best_areas[i] = best_area
123+
closest_areas[i] = closest_area
120124

121125
return indxs, indys, best_area, closest_indxs, closest_indys, closest_area, errors

0 commit comments

Comments
 (0)