BioImager  5.0.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
microscope.cameras.andorsdk3 Namespace Reference

Classes

class  AndorSDK3
 

Functions

 readable_wrapper (func)
 
 writable_wrapper (func)
 

Variables

 _logger = logging.getLogger(__name__)
 
 DPTR_TYPE = SDK3.POINTER(SDK3.AT_U8)
 
dict SDK3_STRING_TO_TRIGGER
 
dict SDK_NAMES
 
 get_value
 
 set_value
 
 min
 
 max
 
 max_length
 
 get_index
 
 set_index
 
 get_string
 
 set_string
 
 get_available_values
 
 is_readonly
 
dict PROPERTY_TYPES
 
list INVALIDATES_BUFFERS
 
 handle
 
 propertyName
 

Function Documentation

◆ readable_wrapper()

microscope.cameras.andorsdk3.readable_wrapper ( func)

Definition at line 146 of file andorsdk3.py.

146def readable_wrapper(func):
147 def wrapper(self, *args, **kwargs):
148 if SDK3.IsReadable(self.handle, self.propertyName):
149 return func(self, *args, **kwargs)
150 else:
151 return None # Warning('%s not currently readable.' % self.propertyName)
152
153 return wrapper
154
155
156# Wrapper to ensure feature is writable.

◆ writable_wrapper()

microscope.cameras.andorsdk3.writable_wrapper ( func)

Definition at line 157 of file andorsdk3.py.

157def writable_wrapper(func):
158 def wrapper(self, *args, **kwargs):
159 if SDK3.IsWritable(self.handle, self.propertyName):
160 return func(self, *args, **kwargs)
161 else:
162 return False # Warning('%s not currently writable.' % self.propertyName)
163
164 return wrapper
165
166
167# Overrides for local style and error handling.

Variable Documentation

◆ _logger

microscope.cameras.andorsdk3._logger = logging.getLogger(__name__)
protected

Definition at line 46 of file andorsdk3.py.

◆ DPTR_TYPE

microscope.cameras.andorsdk3.DPTR_TYPE = SDK3.POINTER(SDK3.AT_U8)

Definition at line 50 of file andorsdk3.py.

◆ get_available_values

microscope.cameras.andorsdk3.get_available_values

Definition at line 183 of file andorsdk3.py.

◆ get_index

microscope.cameras.andorsdk3.get_index

Definition at line 179 of file andorsdk3.py.

◆ get_string

microscope.cameras.andorsdk3.get_string

Definition at line 181 of file andorsdk3.py.

◆ get_value

microscope.cameras.andorsdk3.get_value

Definition at line 168 of file andorsdk3.py.

◆ handle

microscope.cameras.andorsdk3.handle

Definition at line 148 of file andorsdk3.py.

◆ INVALIDATES_BUFFERS

list microscope.cameras.andorsdk3.INVALIDATES_BUFFERS
Initial value:
1= [
2 "_simple_pre_amp_gain_control",
3 "_pre_amp_gain_control",
4 "_aoi_binning",
5 "_aoi_left",
6 "_aoi_top",
7 "_aoi_width",
8 "_aoi_height",
9]

Definition at line 197 of file andorsdk3.py.

◆ is_readonly

microscope.cameras.andorsdk3.is_readonly

Definition at line 184 of file andorsdk3.py.

◆ max

microscope.cameras.andorsdk3.max

Definition at line 171 of file andorsdk3.py.

◆ max_length

microscope.cameras.andorsdk3.max_length

Definition at line 178 of file andorsdk3.py.

◆ min

microscope.cameras.andorsdk3.min

Definition at line 170 of file andorsdk3.py.

◆ PROPERTY_TYPES

dict microscope.cameras.andorsdk3.PROPERTY_TYPES
Initial value:
1= {
2 ATInt: "int",
3 ATBool: "bool",
4 ATFloat: "float",
5 ATString: "str",
6 ATEnum: "enum",
7}

Definition at line 189 of file andorsdk3.py.

◆ propertyName

microscope.cameras.andorsdk3.propertyName

Definition at line 148 of file andorsdk3.py.

◆ SDK3_STRING_TO_TRIGGER

dict microscope.cameras.andorsdk3.SDK3_STRING_TO_TRIGGER
Initial value:
1= {
2 "external": (
3 microscope.TriggerType.RISING_EDGE,
4 microscope.TriggerMode.ONCE,
5 ),
6 "external exposure": (
7 microscope.TriggerType.RISING_EDGE,
8 microscope.TriggerMode.BULB,
9 ),
10 "software": (microscope.TriggerType.SOFTWARE, microscope.TriggerMode.ONCE),
11}

Definition at line 54 of file andorsdk3.py.

◆ SDK_NAMES

dict microscope.cameras.andorsdk3.SDK_NAMES

Definition at line 66 of file andorsdk3.py.

◆ set_index

microscope.cameras.andorsdk3.set_index

Definition at line 180 of file andorsdk3.py.

◆ set_string

microscope.cameras.andorsdk3.set_string

Definition at line 182 of file andorsdk3.py.

◆ set_value

microscope.cameras.andorsdk3.set_value

Definition at line 169 of file andorsdk3.py.