![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| def | __init__ (self, com=None, baud=19200, timeout=0.5, **kwargs) |
| def | send (self, command) |
| def | clearFault (self) |
| def | flush_buffer (self) |
| def | get_status (self) |
| def | initialize (self) |
| def | disable (self) |
| def | get_is_on (self) |
Public Member Functions inherited from microscope._utils.OnlyTriggersBulbOnSoftwareMixin | |
| microscope.TriggerType | trigger_type (self) |
| microscope.TriggerMode | trigger_mode (self) |
| None | set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode) |
Public Member Functions inherited from microscope.abc.TriggerTargetMixin | |
| microscope.TriggerMode | trigger_mode (self) |
| microscope.TriggerType | trigger_type (self) |
| None | set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode) |
| None | trigger (self) |
| def | __init__ (self, **kwargs) |
Public Member Functions inherited from microscope.abc.LightSource | |
| def | __init__ (self, **kwargs) |
| typing.List[str] | get_status (self) |
| bool | get_is_on (self) |
| float | power (self) |
| None | power (self, float power) |
| float | get_set_power (self) |
Public Member Functions inherited from microscope.abc.Device | |
| None | __init__ (self) |
| None | __del__ (self) |
| bool | get_is_enabled (self) |
| None | disable (self) |
| None | enable (self) |
| None | initialize (self) |
| None | shutdown (self) |
| None | add_setting (self, name, dtype, get_func, set_func, values, typing.Optional[typing.Callable[[], bool]] readonly=None) |
| def | get_setting (self, str name) |
| def | get_all_settings (self) |
| None | set_setting (self, str name, value) |
| def | describe_setting (self, str name) |
| def | describe_settings (self) |
| def | update_settings (self, incoming, bool init=False) |
Public Attributes | |
| connection | |
Public Attributes inherited from microscope.abc.SerialDeviceMixin | |
| connection | |
Public Attributes inherited from microscope.abc.Device | |
| enabled | |
Static Public Attributes | |
| dictionary | laser_status |
Additional Inherited Members | |
Static Public Member Functions inherited from microscope.abc.SerialDeviceMixin | |
| def | lock_comms (func) |
Coherent Sapphire laser. The Sapphire is a diode-pumped solid-state laser and only supports `TriggerMode.SOFTWARE`.
Definition at line 34 of file sapphire.py.
| def microscope.lights.sapphire.SapphireLaser.__init__ | ( | self, | |
com = None, |
|||
baud = 19200, |
|||
timeout = 0.5, |
|||
| ** | kwargs | ||
| ) |
Reimplemented from microscope.abc.SerialDeviceMixin.
Definition at line 55 of file sapphire.py.
| def microscope.lights.sapphire.SapphireLaser.clearFault | ( | self | ) |
Definition at line 99 of file sapphire.py.
| def microscope.lights.sapphire.SapphireLaser.disable | ( | self | ) |
Disable the device for a short period for inactivity.
Reimplemented from microscope.abc.Device.
Definition at line 173 of file sapphire.py.
References microscope.abc.SerialDeviceMixin._write(), microscope.lights.deepstar.DeepstarLaser._write(), microscope.lights.obis.ObisLaser._write(), and microscope.lights.sapphire.SapphireLaser._write().
Referenced by microscope.abc.DataDevice.__init__(), microscope.lights.cobolt.CoboltLaser.get_status(), microscope.lights.deepstar.DeepstarLaser.get_status(), microscope.lights.obis.ObisLaser.get_status(), and microscope.abc.Device.shutdown().
| def microscope.lights.sapphire.SapphireLaser.flush_buffer | ( | self | ) |
Definition at line 103 of file sapphire.py.
Referenced by microscope.lights.sapphire.SapphireLaser.get_status(), microscope.lights.sapphire.SapphireLaser.initialize(), and microscope.lights.sapphire.SapphireLaser.send().
| def microscope.lights.sapphire.SapphireLaser.get_is_on | ( | self | ) |
Return True if the light source is currently able to produce light.
Reimplemented from microscope.abc.LightSource.
Definition at line 179 of file sapphire.py.
References microscope.lights.cobolt.CoboltLaser._get_power_mw(), microscope.lights.obis.ObisLaser._get_power_mw(), microscope.lights.sapphire.SapphireLaser._get_power_mw(), microscope.lights.toptica.TopticaiBeam._get_power_mw(), microscope.lights.cobolt.CoboltLaser._max_power_mw, microscope.lights.obis.ObisLaser._max_power_mw, microscope.lights.sapphire.SapphireLaser._max_power_mw, microscope.lights.sapphire.SapphireLaser._min_power, microscope.lights.cobolt.CoboltLaser._set_power_mw(), microscope.lights.toptica.TopticaiBeam._set_power_mw(), microscope.lights.obis.ObisLaser._set_power_mw(), microscope.lights.sapphire.SapphireLaser._set_power_mw(), microscope.lights.cobolt.CoboltLaser.send(), and microscope.lights.sapphire.SapphireLaser.send().
Referenced by microscope.lights.cobolt.CoboltLaser.get_is_on(), microscope.lights.deepstar.DeepstarLaser.get_is_on(), microscope.lights.obis.ObisLaser.get_is_on(), microscope.lights.deepstar.DeepstarLaser.get_status(), microscope.lights.obis.ObisLaser.get_status(), microscope.lights.cobolt.CoboltLaser.initialize(), microscope.lights.obis.ObisLaser.initialize(), and microscope.lights.sapphire.SapphireLaser.initialize().
| def microscope.lights.sapphire.SapphireLaser.get_status | ( | self | ) |
Query and return the light source status.
Reimplemented from microscope.abc.LightSource.
Definition at line 109 of file sapphire.py.
References microscope.abc.SerialDeviceMixin._readline(), microscope.filterwheels.thorlabs.ThorlabsFilterWheel._readline(), microscope.lights.obis.ObisLaser._readline(), microscope.abc.SerialDeviceMixin._write(), microscope.lights.deepstar.DeepstarLaser._write(), microscope.lights.obis.ObisLaser._write(), microscope.lights.sapphire.SapphireLaser._write(), microscope.lights.sapphire.SapphireLaser.flush_buffer(), microscope.lights.sapphire.SapphireLaser.laser_status, microscope.lights.cobolt.CoboltLaser.send(), and microscope.lights.sapphire.SapphireLaser.send().
Referenced by microscope.lights.obis.ObisLaser.get_status(), microscope.lights.cobolt.CoboltLaser.initialize(), microscope.lights.obis.ObisLaser.initialize(), microscope.lights.sapphire.SapphireLaser.initialize(), microscope.lights.cobolt.CoboltLaser.send(), and microscope.lights.sapphire.SapphireLaser.send().
| def microscope.lights.sapphire.SapphireLaser.initialize | ( | self | ) |
Initialize the device. If devices have this method (not required, and many don't), then they should call it as part of the initialisation, i.e., they should call it on their `__init__` method.
Reimplemented from microscope.abc.Device.
Definition at line 148 of file sapphire.py.
References microscope.abc.SerialDeviceMixin.connection, microscope.filterwheels.thorlabs.ThorlabsFilterWheel.connection, microscope.lights.cobolt.CoboltLaser.connection, microscope.lights.deepstar.DeepstarLaser.connection, microscope.lights.obis.ObisLaser.connection, microscope.lights.sapphire.SapphireLaser.connection, microscope.lights.sapphire.SapphireLaser.flush_buffer(), microscope.abc.LightSource.get_is_on(), microscope.controllers.coolled._CoolLEDChannel.get_is_on(), microscope.controllers.lumencor._SpectraIIILightChannel.get_is_on(), microscope.controllers.toptica._iChromeLaser.get_is_on(), microscope.controllers.zaber._ZaberLED.get_is_on(), microscope.lights.cobolt.CoboltLaser.get_is_on(), microscope.lights.deepstar.DeepstarLaser.get_is_on(), microscope.lights.obis.ObisLaser.get_is_on(), microscope.lights.sapphire.SapphireLaser.get_is_on(), microscope.lights.toptica.TopticaiBeam.get_is_on(), microscope.simulators.SimulatedLightSource.get_is_on(), microscope.abc.LightSource.get_status(), microscope.controllers.coolled._CoolLEDChannel.get_status(), microscope.controllers.lumencor._SpectraIIILightChannel.get_status(), microscope.controllers.toptica._iChromeLaser.get_status(), microscope.controllers.zaber._ZaberLED.get_status(), microscope.filterwheels.aurox.Clarity.get_status(), microscope.lights.cobolt.CoboltLaser.get_status(), microscope.lights.deepstar.DeepstarLaser.get_status(), microscope.lights.obis.ObisLaser.get_status(), microscope.lights.sapphire.SapphireLaser.get_status(), microscope.lights.toptica.TopticaiBeam.get_status(), microscope.simulators.SimulatedLightSource.get_status(), microscope.stages.linkam._LinkamBase.get_status(), microscope.stages.linkam._LinkamMDSMixin.get_status(), microscope.stages.linkam.LinkamCMS.get_status(), microscope.lights.cobolt.CoboltLaser.send(), and microscope.lights.sapphire.SapphireLaser.send().
Referenced by microscope.cameras.picam.PiCamera.__init__(), microscope.cameras.ximea.XimeaCamera.__init__(), and microscope.cameras.picam.PiCamera.initialize().
| def microscope.lights.sapphire.SapphireLaser.send | ( | self, | |
| command | |||
| ) |
Send command and retrieve response.
Definition at line 93 of file sapphire.py.
References microscope.abc.SerialDeviceMixin._readline(), microscope.filterwheels.thorlabs.ThorlabsFilterWheel._readline(), microscope.lights.obis.ObisLaser._readline(), microscope.abc.SerialDeviceMixin._write(), microscope.lights.deepstar.DeepstarLaser._write(), microscope.lights.obis.ObisLaser._write(), microscope.lights.sapphire.SapphireLaser._write(), microscope.lights.sapphire.SapphireLaser.flush_buffer(), microscope.abc.LightSource.get_status(), microscope.controllers.coolled._CoolLEDChannel.get_status(), microscope.controllers.lumencor._SpectraIIILightChannel.get_status(), microscope.controllers.toptica._iChromeLaser.get_status(), microscope.controllers.zaber._ZaberLED.get_status(), microscope.filterwheels.aurox.Clarity.get_status(), microscope.lights.cobolt.CoboltLaser.get_status(), microscope.lights.deepstar.DeepstarLaser.get_status(), microscope.lights.obis.ObisLaser.get_status(), microscope.lights.sapphire.SapphireLaser.get_status(), microscope.lights.toptica.TopticaiBeam.get_status(), microscope.simulators.SimulatedLightSource.get_status(), microscope.stages.linkam._LinkamBase.get_status(), microscope.stages.linkam._LinkamMDSMixin.get_status(), and microscope.stages.linkam.LinkamCMS.get_status().
Referenced by microscope.lights.cobolt.CoboltLaser.disable(), microscope.lights.cobolt.CoboltLaser.get_is_on(), microscope.lights.sapphire.SapphireLaser.get_is_on(), microscope.lights.cobolt.CoboltLaser.get_status(), microscope.lights.sapphire.SapphireLaser.get_status(), microscope.lights.cobolt.CoboltLaser.initialize(), microscope.lights.sapphire.SapphireLaser.initialize(), and microscope.lights.cobolt.CoboltLaser.send().
| microscope.lights.sapphire.SapphireLaser.connection |
Definition at line 60 of file sapphire.py.
Referenced by microscope.filterwheels.thorlabs.ThorlabsFilterWheel.__init__(), microscope.lights.cobolt.CoboltLaser.get_status(), microscope.lights.cobolt.CoboltLaser.initialize(), microscope.lights.sapphire.SapphireLaser.initialize(), and microscope.abc.SerialDeviceMixin.lock_comms().
|
static |
Definition at line 46 of file sapphire.py.
Referenced by microscope.lights.sapphire.SapphireLaser.get_status().