read_evr#

echoregions.read_evr(filepath: str, min_depth: Optional[float] = None, max_depth: Optional[float] = None) echoregions.regions2d.regions2d.Regions2D#

Read an EVR file into a Regions2D object.

Parameters
filepathstr, Path object

A valid path to an EVR file

min_depthfloat, default None

Depth value in meters to set -9999.99 depth edges to.

max_depthfloat, default None

Depth value in meters to set 9999.99 depth edges to.

Returns
Regions2D

Object that contains the EVR data and metadata with methods for saving to file.