Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 5c72247

Browse files
committed
Minor docstring fixes
1 parent f8a7281 commit 5c72247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nowcasting_dataset/data_sources/optical_flow/optical_flow_data_source.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def _update_dataarray_with_predictions(
212212
predictions: Predictions from the optical flow
213213
214214
Returns:
215-
The Xarray dataArray with the optical flow predictions
215+
The Xarray DataArray with the optical flow predictions
216216
"""
217217

218218
# Combine all channels for a single timestep
@@ -239,7 +239,7 @@ def _compute_optical_flow(self, t0_image: np.ndarray, previous_image: np.ndarray
239239
previous_image: previous image to compute optical flow with
240240
241241
Returns:
242-
optical flow field
242+
Optical Flow field
243243
"""
244244
return cv2.calcOpticalFlowFarneback(
245245
prev=previous_image,

0 commit comments

Comments
 (0)