Skip to content

Commit

Permalink
202 prepare water level interpretation (#203)
Browse files Browse the repository at this point in the history
* small mod in cli elements to allow for return of rvec and tvec

* Add skeleton for WaterLevel class and corresponding tests #202

* Rename WaterLevel to CrossSection, add geometric functionalities #202

* CrossSection API draft #202

* docs for CrossSection base methods #202

* Add support for using s-coordinates in cross-section methods #202

* version bump and changelog. #202
Resolved issues with cartopy missing in tests

* cartopy dependency check added in plot tests

* improve test coverage #202
  • Loading branch information
hcwinsemius authored Feb 14, 2025
1 parent 03bdef3 commit d0d1801
Show file tree
Hide file tree
Showing 13 changed files with 1,170 additions and 202 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [0.7.2] = 2025-02-14
### Added
- New class CrossSection. This is to prepare for water level estimation functionalities.
It provides several geometrical operations along a cross section. This is documented yet.
and may change significantly in the near future.

### Changed
- `cli.cli_utils.get_gcps_optimized_fit` now export rotation and translation vectors also, for
later use in front end functionalities (e.g. show pose of camera interactively).
### Deprecated
### Removed
### Fixed
### Security

## [0.7.1] - 2024-12-13
### Added
### Changed
Expand Down
5 changes: 3 additions & 2 deletions pyorc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""pyorc: free and open-source image-based surface velocity and discharge."""

__version__ = "0.7.1"
__version__ = "0.7.2"

from .api import CameraConfig, Frames, Transect, Velocimetry, Video, get_camera_config, load_camera_config # noqa
from .api import CameraConfig, Frames, Transect, Velocimetry, Video, CrossSection, get_camera_config, load_camera_config # noqa
from .project import * # noqa
from . import cli, service # noqa

Expand All @@ -14,6 +14,7 @@
"Frames",
"Velocimetry",
"Transect",
"CrossSection",
"service",
"cli",
]
12 changes: 8 additions & 4 deletions pyorc/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from .cameraconfig import CameraConfig, load_camera_config, get_camera_config
from .video import Video
"""API for pyorc."""

from .cameraconfig import CameraConfig, get_camera_config, load_camera_config
from .cross_section import CrossSection
from .frames import Frames
from .velocimetry import Velocimetry
from .transect import Transect
from .velocimetry import Velocimetry
from .video import Video

__all__ = [
"CameraConfig",
Expand All @@ -11,5 +14,6 @@
"Video",
"Frames",
"Velocimetry",
"Transect"
"CrossSection",
"Transect",
]
Loading

0 comments on commit d0d1801

Please sign in to comment.