Skip to content

Commit f506b4a

Browse files
committed
Small name update
1 parent bbd5ac7 commit f506b4a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/geocompy/tps1000/tmc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def do_measurement(
473473
[_cmd.value, _mode.value]
474474
)
475475

476-
def set_distance(
476+
def set_manual_distance(
477477
self,
478478
distance: float,
479479
offset: float,
@@ -534,7 +534,7 @@ def set_distance(
534534
[distance, offset, _mode.value]
535535
)
536536

537-
def get_height(self) -> GeoComResponse[float]:
537+
def get_target_height(self) -> GeoComResponse[float]:
538538
"""
539539
RPC 2011, ``TMC_GetHeight``
540540
@@ -548,15 +548,15 @@ def get_height(self) -> GeoComResponse[float]:
548548
549549
See Also
550550
--------
551-
set_height
551+
set_target_height
552552
553553
"""
554554
return self._request(
555555
2011,
556556
parsers=float
557557
)
558558

559-
def set_height(
559+
def set_target_height(
560560
self,
561561
height: float
562562
) -> GeoComResponse[None]:
@@ -580,7 +580,7 @@ def set_height(
580580
581581
See Also
582582
--------
583-
get_height
583+
get_target_height
584584
585585
"""
586586
return self._request(

src/geocompy/tps1100/tmc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def set_edm_mode(
105105
[_mode.value]
106106
)
107107

108-
def get_slope_distance_correction(
108+
def get_distance_correction(
109109
self
110110
) -> GeoComResponse[tuple[float, float]]:
111111
"""

0 commit comments

Comments
 (0)