Commit 15fb34b8 authored by Laurent Claustre's avatar Laurent Claustre

Updated documentation

parent 1d33b488
.. _camera-andor3:
Andor SDK3 camera plugin
-------------------------
Andor SDK3
----------
.. image:: neo_header.jpg
:scale: 60 %
Intoduction
```````````
CAUTION : This documentation is currently very partial and needs some extra work to be completed !!!
Andor Technology manufactuer offers a large catalogue of scientific cameras. Covered scientific applications are low ligth imaging, spectroscopy, microscopy, time-resolved and high energy detection.
Andor is providing a Software Development Tool (SDK) for both Windows and Linux, supporting different interface buses such as USB, CameraLink and also some specific acquisition PCI board. Unfortunately there was a significant API change between the v2 line of SDK and the brand new v3 of the SDK, and recent cameras are only supported by the v3 SDK, whilst this new SDK is not (yet ?) supporting previously built cameras.
The Lima module as been tested only with this cameras models:
- Neo (3-tap Camera Link, Linux OS)
The Lima module as been tested only with these camera models:
- Neo (sCMOS 3-tap, full Camera Link, Linux OS)
- Zyla (5.5 sCMOS, full Camera Link, Linux OS)
Module configuration
````````````````````
......@@ -63,5 +64,80 @@ Installation
Configuration
`````````````
- connect the camera on both cameralink cables and power on.
How to use
`````````````
A simple python test programme:
.. code-block:: python
from Lima import Andor
from lima import Core
# -------------------+--------------------------------------------+
# | |
# v camlink config path v camera index
cam = Andor3.Camera('/users/blissadm/local/Andor3/andor/bitflow', 0)
hwint = Andor3.Interface(cam)
ct = Core.CtControl(hwint)
acq = ct.acquisition()
# configure some hw parameters
hwint.setTemperatureSP(-30)
hwint.setCooler(True)
.... wait here for cooling
# set some low level configuration
hwint.setCooler(True)
hwint.setTemperatureSP(-55)
hwint.setFanSpeed(cam.Low)
hwint.setAdcGain(cam.b11_low_gain)
hwint.setAdcRate(cam.MHz100)
hwint.setElectronicShutterMode(cam.Rolling)
hwint.setOverlap(False)
# setting new file parameters and autosaving mode
saving=ct.saving()
pars=saving.getParameters()
pars.directory='/buffer/lcb18012/opisg/test_lima'
pars.prefix='test1_'
pars.suffix='.edf'
pars.fileFormat=Core.CtSaving.EDF
pars.savingMode=Core.CtSaving.AutoFrame
saving.setParameters(pars)
# set accumulation mode
acq_pars= acq.getPars()
#0-normal,1-concatenation,2-accumu
acq_pars.acqMode = 2
acq_pars.accMaxExpoTime = 0.05
acq_pars.acqExpoTime =1
acq_pars.acqNbFrames = 1
acq.setPars(acq_pars)
# here we should have 21 accumulated images per frame
print acq.getAccNbFrames()
# now ask for 2 sec. exposure and 10 frames
acq.setAcqExpoTime(2)
acq.setNbImages(10)
ct.prepareAcq()
ct.startAcq()
# wait for last image (#9) ready
lastimg = ct.getStatus().ImageCounters.LastImageReady
while lastimg !=9:
time.sleep(1)
lastimg = ct.getStatus().ImageCounters.LastImageReady
# read the first image
im0 = ct.ReadImage(0)
- Still to be written.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment