detect_shoal

Contents

detect_shoal#

echopype.mask.detect_shoal(ds: Dataset, method: str, params: Dict) DataArray#

Detect shoals using the selected method and return a 2D boolean mask.

Parameters:
dsxr.Dataset

Sv dataset including ping_time and range_sample.

methodstr

Name of the detection method to use (e.g., “echoview”, “weill”).

paramsdict

Parameters for the detection function (method-specific).

Returns:
xr.DataArray

2D boolean DataArray of shoal mask (True = inside).