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.

Filename, size & hash SHA256 hash help File type Python version Upload date
leicascanningtemplate-0.0.3-py2.py3-none-any.whl (7.1 kB) Copy SHA256 hash SHA256 Wheel 3.4
leicascanningtemplate-0.0.3.tar.gz (17.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page