File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1919## You should have received a copy of the GNU General Public License
2020## along with Microscope. If not, see <http://www.gnu.org/licenses/>.
2121
22+ import enum
23+ import logging
24+ import queue
2225import time
26+ from io import BytesIO
2327
24- import Pyro4
2528import numpy as np
26- import logging
27- import enum
28- import microscope
29- import queue
30- from microscope import devices
31- from microscope .devices import keep_acquiring , Binning , ROI
29+ import Pyro4
3230
31+ import microscope
3332#import raspberry pi specific modules
3433import picamera
3534import picamera .array
36- from io import BytesIO
3735#to allow hardware trigger.
3836import RPi .GPIO as GPIO
37+ from microscope import devices
38+ from microscope .devices import ROI , Binning , keep_acquiring
39+
40+
3941GPIO_Trigger = 21
4042GPIO_CAMLED = 5
4143
@@ -284,5 +286,3 @@ def soft_trigger(self):
284286
285287#Need to setup a buffer for harware triggered data aquisition so we can
286288#call the acquisition and then download the data at our leasure
287-
288-
Original file line number Diff line number Diff line change 2323from enum import IntEnum
2424
2525import microscope .abc
26-
2726# These classes were originally in testsuite but have been moved to
2827# their own subpackage, these imports are for backwards compatibility.
2928from microscope .simulators import (
You can’t perform that action at this time.
0 commit comments