Skip to content

Commit

Permalink
Refactor of the import for cupy / numpy compatiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
taladjidi committed Mar 20, 2024
1 parent 0fd9200 commit df1c4bd
Show file tree
Hide file tree
Showing 4 changed files with 858 additions and 1,079 deletions.
1 change: 1 addition & 0 deletions PhaseUtils/SLM.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(self, position: int, name: str = "SLM"):
cv2.namedWindow(name, cv2.WINDOW_NORMAL)
shift = None
for m in screeninfo.get_monitors():
print(m)
if str(position) in m.name:
shift = m.x
self.resX = m.width
Expand Down
Loading

0 comments on commit df1c4bd

Please sign in to comment.