Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
freemansw1 committed Nov 8, 2023
1 parent cf27242 commit a635af8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tobac/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def segmentation_timestep(
seed_3D_size: Union[int, tuple[int]] = 5,
segment_number_below_threshold: int = 0,
segment_number_unassigned: int = 0,
statistics: Union[dict[str, Union[Callable, tuple[Callable, dict]]], None]=None,
statistics: Union[dict[str, Union[Callable, tuple[Callable, dict]]], None] = None,
) -> tuple[iris.cube.Cube, pd.DataFrame]:
"""Perform watershedding for an individual time step of the data. Works
for both 2D and 3D data
Expand Down Expand Up @@ -1126,8 +1126,7 @@ def segmentation(
seed_3D_size: Union[int, tuple[int]] = 5,
segment_number_below_threshold: int = 0,
segment_number_unassigned: int = 0,
statistics: Union[dict[str, Union[Callable, tuple[Callable, dict]]], None]=None,

statistics: Union[dict[str, Union[Callable, tuple[Callable, dict]]], None] = None,
) -> tuple[iris.cube.Cube, pd.DataFrame]:
"""Use watershedding to determine region above a threshold
value around initial seeding position for all time steps of
Expand Down

0 comments on commit a635af8

Please sign in to comment.