We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf0fbf commit 9c0063cCopy full SHA for 9c0063c
microscope/cameras/ximea.py
@@ -19,8 +19,6 @@
19
## You should have received a copy of the GNU General Public License
20
## along with Microscope. If not, see <http://www.gnu.org/licenses/>.
21
22
-import time
23
-
24
import Pyro4
25
import numpy as np
26
@@ -116,7 +114,7 @@ def get_exposure_time(self):
116
114
return (self.handle.get_exposure()*1.0E-6)
117
115
118
def get_cycle_time(self):
119
- return (self.handle.get_exposure()*1.0E-6)
+ return (1.0/self.handle.get_framerate())
120
121
def _get_sensor_shape(self):
122
return (self.img.width,self.image.height)
0 commit comments