Skip to content

Commit

Permalink
abc: remove cancel_exposure
Browse files Browse the repository at this point in the history
  • Loading branch information
ianohara committed Feb 25, 2025
1 parent 1e7d13d commit 309e85a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions software/squid/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,14 +608,6 @@ def send_trigger(self, illumination_time: Optional[float] = None):
When this returns, it does not mean it is safe to immediately send another trigger.
"""

@abc.abstractmethod
def cancel_exposure(self):
"""
If in the middle of an exposure, cancel it. This can be a No-Op if the camera does not support this,
as long as it's valid to do arbitrary operations on the camera after this call.
"""
pass

@abc.abstractmethod
def set_region_of_interest(self, offset_x: int, offset_y: int, width: int, height: int):
"""
Expand Down
4 changes: 0 additions & 4 deletions software/squid/camera/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,6 @@ def send_trigger(self, illumination_time: Optional[float] = None):

self._propogate_frame(frame)

@debug_log
def cancel_exposure(self):
pass

@debug_log
def set_region_of_interest(self, offset_x: int, offset_y: int, width: int, height: int):
self._roi = (offset_x, offset_y, width, height)
Expand Down

0 comments on commit 309e85a

Please sign in to comment.