Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ID11
id11
Commits
db341841
Commit
db341841
authored
May 13, 2022
by
Emmanuel Papillon
Browse files
add is_open property needed by tomo v2
parent
9cb82e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
id11/controllers/fshutter.py
View file @
db341841
...
...
@@ -133,3 +133,5 @@ class FastShutter:
def
measure
(
self
,
open_time
=
1.
,
acq_time
=
100e-6
,
delay
=
200e-3
):
self
.
calibration
.
measure
(
open_time
,
acq_time
,
delay
)
def
is_open
(
self
):
return
self
.
mode
==
"OPEN"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment