pyorc.CrossSection.get_line_of_interest#

CrossSection.get_line_of_interest(bank: BANK_OPTIONS = 'far') List[float][source]#

Retrieve the points of interest within the cross-section for water level detection.

This may be all points, points only at the far-bank or closest-bank of the camera position.

Parameters:

bank (Literal["far", "near", "both"], optional) – Select relevant part of cross section. If “both”, select the full cross-section. If “far”, select only the furthest part from the deepest point in the cross section, if any. If “near”, select only the “nearest”.

Returns:

start and end point of the line of interest in l-coordinates.

Return type:

list of 2 floats