Skip to main content

The Python package for working with ophthalmological data.

Project description

eyepy

https://badge.fury.io/py/eyepie.svg https://travis-ci.com/MedVisBonn/eyepy.svg?branch=master Documentation Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eyepie-0.3.4.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

eyepie-0.3.4-py2.py3-none-any.whl (34.8 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