You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Set the camera target coordinate in CCF space in um relative to CCF (0,0,0), without moving the camera. Coordinates can be negative or larger than the CCF space (11400,13200,8000)
7
32
@@ -82,4 +107,32 @@ def set_pan(pan_x, pan_y):
82
107
--------
83
108
>>> urn.set_pan(3.0, 4.0)
84
109
"""
85
-
client.sio.emit('SetCameraPan', [pan_x, pan_y])
110
+
client.sio.emit('SetCameraPan', [pan_x, pan_y])
111
+
112
+
defset_mode(mode):
113
+
"""Set camera perspective mode
114
+
115
+
Parameters
116
+
----------
117
+
mode : string
118
+
mode options "perspective" or "orthographic" (default)
119
+
120
+
Examples
121
+
--------
122
+
>>> urn.set_mode('perspective')
123
+
"""
124
+
client.sio.emit('SetCameraMode', mode)
125
+
126
+
defcapture_image(filename):
127
+
""" Capture a full screenshot and save to filename
0 commit comments