Object-oriented, high-level interface for Andor cameras (SDK2), written in Cython.
Usage
The camera is controlled via the top-level class Andor:
>>> from andor2 import Andor >>> cam = Andor()
The Andor instance is just a container for other objects that control various aspect of the camera:
Info : camera information and available features
Temperature : cooler control
Shutter : shutter control
EM: electron-multiplying gain control
Detector: CCD control, including:
VSS: vertical shift speed
HSS: horizontal shift speed
ADC: analog-to-digital converter
OutputAmp: the output amplifier
PreAmp: pre-amplifier control
ReadMode: select the CCD read-out mode (full frame, vertical binning, tracks, etc.)
Acquire <AcqMode>: control the acquisition mode (single shot, video, accumulate, kinetic)
Examples
>>> from andor2 import Andor >>> cam = Andor() >>> cam.Temperature.setpoint = -74 # start cooling >>> cam.Temperature.cooler = True >>> cam.Detector.OutputAmp(1) # use conventional CCD amplifier instead of electron multiplying >>> cam.PreAmp(2) # set pre-amplifier gain to 4.9 >>> cam.exposure = 10 # set exposure time to 10 ms >>> cam.ReadMode.SingleTrack(590,5) # set readout mode: single track, 5 pixels wide, centered at 590 pixels>>> cam.Acquire.Video() # set acquisition mode to video (continuous) >>> data = cam.Acquire.Newest(10) # collect latest 10 images as numpy array >>> cam.Acquire.stop()>>> cam.Acquire.Kinetic(10, 0.1, 5, 0.01) # set up kinetic sequence of 10 images every 100ms # with each image being an accumulation of 5 images # taken 10ms apart >>> cam.Acquire.start() # start acquiring >>> cam.Acquire.wait() # block until acquisition terminates >>> data = cam.Acquire.GetAcquiredData() # collect all data
Metadata
Release files for andor 1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| andor-1.14.tar.gz | 237.7 kB | Without provenance | Details for andor-1.14.tar.gz |
Release files / andor-1.14.tar.gz
| Download URL | andor-1.14.tar.gz |
|---|---|
| Size | 237.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
975afccc009725b9c74b77351f88eccb3b084fa9aef85c1908f07091a9a369d8
|
|
BLAKE2b-256 checksum How to use checksums |
c4695ec698e407980cddadad6c1b256931789b0964ecef86f1de670f8999fb5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for andor 1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.