The Python package for working with ophthalmological data.
Project description
eyepy
This software is under active development and things might change without backwards compatibility. If you want to use eyepy in your project make sure to pin the version in your requirements file.
Features
Read the HEYEX XML export
Read the HEYEX VOL export
Read B-Scans from a folder
Read the public OCT Dataset from Duke University
Plot OCT Scans
Compute Drusen from BM and RPE segmentations
Getting started
Installation
Install eyepy with pip install -U eyepie
. Yes it is eyepie
and not eyepy
for
installation with pip.
Loading Data
import eyepy as ep
# Load B-Scans from folder
data = ep.Oct.from_folder("path/to/folder")
# Load an OCT volume from the DUKE dataset
data = ep.Oct.from_duke_mat("path/to/file.mat")
# Load an HEYEX XML export
data = ep.Oct.from_heyex_xml("path/to/folder")
# Load an HEYEX VOL export
data = ep.Oct.from_heyex_vol("path/to/file.vol")
The Oct object
When loading data as described above an Oct object is returned. You can use this object to perform common actions on the OCT volume such as:
Iterating over the volume to retrieve Bscan objects
for bscan in data
Plotting a localizer (NIR) image associated to the OCT
data.plot(localizer=True)
Accessing an associated localizer image
data.localizer
Reading Meta information from the loaded data if available
data.ScaleXSlo
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-10-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for eyepie-0.3.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3bc73dfabf61019a09b42eb056f42c740e21ba567860ca79383c2ad9fc4608 |
|
MD5 | 4c8f9251b01f26a0ff5f92ae7c9fd7fd |
|
BLAKE2b-256 | a8d4edd1b54febfa32612c9b7ae7e746aadb93567c552f4602dc7204c03007c2 |