Skip to content

Commit

Permalink
Added jumpDelay and jumpSpeed to match changes in libSLM
Browse files Browse the repository at this point in the history
  • Loading branch information
drlukeparry committed Mar 4, 2022
1 parent c46ae70 commit 55cc7e7
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions pyslm/geometry/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(self):
self._laserMode = 1
self._pointDistance = 0
self._pointExposureTime = 0
self._pointDelay = 0
self._jumpDelay = 0
self._jumpSpeed = 0

Expand Down Expand Up @@ -175,16 +176,27 @@ def pointDistance(self, pointDistance: int):
self._pointDistance = pointDistance

@property
def jumpDelay(self) ->int:
""" The jump delay time (usually expressed as an integer :math:`\\mu m`) """
return self._jumpDelay
def pointDelay(self) -> int:
"""
The delay added between individual point exposure (usually expressed as an integer [:math:`\\mu s]`).
This must be set to zero (default) if it is not explicitly used.
"""
return self._pointDelay

@jumpDelay.setter
def jumpDelay(self, delay: int):
@pointDelay.setter
def pointDelay(self, delay: int):
self._pointDelay = delay

@property
def jumpDelay(self) -> int:
"""
The jump speed between scan vectors (usually expressed as an integer :math:`mm/s`). This must be set to
The jump delay between scan vectors (usually expressed as an integer [:math:`\mu s`]). This must be set to
zero (default) if it is not explicitly used.
"""
return self._jumpDelay

@jumpDelay.setter
def jumpDelay(self, delay: int):
self._jumpDelay = delay

@property
Expand Down

0 comments on commit 55cc7e7

Please sign in to comment.