Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arve0/leicascanningtemplate

convenience library for talking with leica matrix screener scanning template
https://github.com/arve0/leicascanningtemplate

Last synced: 8 days ago
JSON representation

convenience library for talking with leica matrix screener scanning template

Awesome Lists containing this project

README

        

# leicascanningtemplate

[![build-status-image]][travis]
[![pypi-version]][pypi]

## Overview
Convenience library for talking with Leica matrix screener scanning
template XMLs.

## Installation
Install using `pip`...

```bash
pip install leicascanningtemplate
```

## Example
```python
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](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:
```bash
pip install -r dev-requirements.txt
./setup.py develop
```

### Testing
```bash
tox
```

### Build documentation locally
To build the documentation:
```bash
pip install -r docs/requirements.txt
make docs
```

[build-status-image]: https://secure.travis-ci.org/arve0/leicascanningtemplate.png?branch=master
[travis]: http://travis-ci.org/arve0/leicascanningtemplate?branch=master
[pypi-version]: https://img.shields.io/pypi/v/leicascanningtemplate.svg
[pypi]: https://pypi.python.org/pypi/leicascanningtemplate