pyorc.Transect.get_depth_perspective#
- Transect.get_depth_perspective(h, sample_size=1000, interval=25)[source]#
Get line (x, y) pairs that show the depth over several intervals in the wetted part of the cross section.
- Parameters:
h (float) – The water level with which the depth perspective needs to be calculated.
sample_size (int, optional) – The number of samples to create by interpolating the cross section (default is 1000).
interval (int, optional) – The interval between extended samples (default is 25).
- Returns:
Each tuple pair defines one perspective depth line.
- Return type:
List of (x, y) tuple pairs.