Parametric patterns for laser scanning microscopy
Project description
PyScanPatterns
Parametric scan patterns for laser scanning microscopy.
Galvo drive signals, line camera/PMT exposure triggers, and frame/digitizer triggers are generated given a scan type and parameters.
Installation
pip install scanpatterns
Patterns
So far, the following patterns are possible:
- Raster scan
- Raster scan with repeated A-lines
- Raster scan with repeated B-lines
- Bidirectional raster scan
- Figure-8 scan
- Rhodonea rose scan with any number of petals
Patterns are created by calling the generate
method of any LineScanPattern
instance.
The resultant scan signals can be accessed via the x
, y
, line_trigger
and frame_trigger
properties.
RasterScanPattern(16, 16, 1, samples_on=1, samples_off=10)
RasterScanPattern(16, 16, 1, samples_on=1, samples_off=10, fast_axis_step=True, slow_axis_step=True)
RasterScanPattern(16, 16, 1, samples_on=1, samples_off=10, bline_repeat=2)
RasterScanPattern(16, 16, 1, samples_on=1, samples_off=10, fov=[1.5, 4.5], fast_axis_step=True, slow_axis_step=True)
RasterScanPattern(16, 16, 1, samples_on=1, samples_off=10, fast_axis_step=True, slow_axis_step=True, rotation_rad=np.pi/4)
RasterScanPattern(15, 15, 1, samples_on=1, samples_off=10, bidirectional=True, slow_axis_step=True)
Figure8ScanPattern(1.0, 16, 76000)
RoseScanPattern(3, 1, 16, 1, samples_on=1, samples_off=10)
RoseScanPattern(5, 1, 16, 1, samples_on=1, samples_off=10)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scanpatterns-0.1.0.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for scanpatterns-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b6ef5d96f155688353e8e21652cca7c69b0bdad74fd8c00a6154c2b2ec424a4 |
|
MD5 | 59693c6012d3a7768909d6bf320c5458 |
|
BLAKE2b-256 | dc3a1671cf2b4257bbdb8468f658d8b51f7c04f81f5c277e7749808d7e0219c1 |