leicascanningtemplate
Overview
Convenience library for talking with Leica matrix screener scanning template XMLs.
Installation
Install using pip
...
pip install leicascanningtemplate
Example
from leicaleicascanningtemplate import ScanningTemplate
tmpl = ScanningTemplate('path/to/scantempl.xml')
tmpl.add_well(well_x=2, well_y=3, start_x=30e-3, start_y=44e-3)
tmpl.write()
# x stage position of field
print(tmpl.field(well_x=1, well_y=1, field_x=1, field_y=1).FieldXCoordinate)
Read more on available elements and attributes in SCANNINGTEMPLATE.md.
Documentation
Read about available commands in the API reference: http://leicascanningtemplate.rtfd.org/
Development
Install dependencies and link development version of leicascanningtemplate to pip:
pip install -r dev-requirements.txt
./setup.py develop
Testing
tox
Build documentation locally
To build the documentation:
pip install -r docs/requirements.txt
make docs