File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ def sensor(self) -> AbstractSensor:
28
28
def gain (self ) -> u .Quantity | na .AbstractScalar :
29
29
"""The conversion factor between electrons and ADC counts."""
30
30
31
+ @property
32
+ @abc .abstractmethod
33
+ def timedelta_exposure (self ) -> u .Quantity | na .AbstractScalar :
34
+ """The current exposure length."""
35
+
31
36
@classmethod
32
37
def calibrate_timedelta_exposure (cls , value : int ) -> u .Quantity :
33
38
"""
@@ -126,6 +131,9 @@ class Camera(
126
131
bits_adc : int = 16
127
132
"""The number of bits supported by the analog-to-digital converter"""
128
133
134
+ timedelta_exposure : u .Quantity = 10 * u .s
135
+ """The current exposure length."""
136
+
129
137
timedelta_exposure_min : u .Quantity = 2 * u .s
130
138
"""The minimum exposure length supported by this camera."""
131
139
You can’t perform that action at this time.
0 commit comments