与徕卡矩阵筛选扫描模板交谈的便利库
leicascanningtemplate的Python项目详细描述
概述
与徕卡矩阵筛选器扫描交谈的便利库 模板xmls。
安装
使用pip…
安装pip install leicascanningtemplate
示例
fromleicaleicascanningtemplateimportScanningTemplatetmpl=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 fieldprint(tmpl.field(well_x=1,well_y=1,field_x=1,field_y=1).FieldXCoordinate)
阅读有关中可用元素和属性的更多信息 SCANNINGTEMPLATE.md。
文档
阅读API参考中的可用命令: http://leicascanningtemplate.rtfd.org/
开发
安装依赖项和链接开发版本 leicascanningtemplate到pip:
pip install -r dev-requirements.txt ./setup.py develop
测试
pip install tox tox
在本地生成文档
构建文档:
make docs