BioImager  4.9.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.atmcd.ReadoutMode Class Reference

Public Member Functions

 __init__ (self, channel, amplifier, hs_index, speed)
 
 __str__ (self)
 

Public Attributes

 channel = channel
 
 amp = amplifier
 
 hsindex = hs_index
 
 speed = speed
 

Detailed Description

A combination of channel, amplifier and speed settings.

Definition at line 1325 of file atmcd.py.

Constructor & Destructor Documentation

◆ __init__()

microscope.cameras.atmcd.ReadoutMode.__init__ ( self,
channel,
amplifier,
hs_index,
speed )

Definition at line 1328 of file atmcd.py.

1328 def __init__(self, channel, amplifier, hs_index, speed):
1329 self.channel = channel # Channel index
1330 self.amp = amplifier # Amplifier enum
1331 self.hsindex = hs_index # HS speed index
1332 self.speed = speed # Shift frequency in MHz
1333

Member Function Documentation

◆ __str__()

microscope.cameras.atmcd.ReadoutMode.__str__ ( self)

Definition at line 1334 of file atmcd.py.

1334 def __str__(self):
1335 if self.speed < 1:
1336 speedstr = "{:.0f} kHz".format(self.speed * 1000)
1337 else:
1338 speedstr = "{:.0f} MHz".format(self.speed)
1339 return "{} {} CH{:.0f}".format(self.amp.name, speedstr, self.channel)
1340
1341
1342# A lock on the DLL used to ensure DLL calls act on the correct device.

Member Data Documentation

◆ amp

microscope.cameras.atmcd.ReadoutMode.amp = amplifier

Definition at line 1330 of file atmcd.py.

◆ channel

microscope.cameras.atmcd.ReadoutMode.channel = channel

Definition at line 1329 of file atmcd.py.

◆ hsindex

microscope.cameras.atmcd.ReadoutMode.hsindex = hs_index

Definition at line 1331 of file atmcd.py.

◆ speed

microscope.cameras.atmcd.ReadoutMode.speed = speed

Definition at line 1332 of file atmcd.py.


The documentation for this class was generated from the following file: