Skip to main content

convenience library for talking with leica matrix screener scanning templates

Project description

build-status-image pypi-version

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

pip install tox
tox

Build documentation locally

To build the documentation:

make docs

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

leicascanningtemplate-0.0.3.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

leicascanningtemplate-0.0.3-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page