Skip to main content

FSLeyes, the FSL image viewer

Project description

https://img.shields.io/pypi/v/fsleyes.svg https://anaconda.org/conda-forge/fsleyes/badges/version.svg https://zenodo.org/badge/DOI/10.5281/zenodo.1470761.svg https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/badges/master/coverage.svg

FSLeyes is the FSL image viewer.

Installation

These instructions pertain to manual installation of FSLeyes into a Python environment. Standalone versions of FSLeyes can be downloaded from https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes.

FSLeyes is a wxPython application. If you are on Linux, you will need to install wxPython first - head to https://extras.wxpython.org/wxPython4/extras/linux/ and find the directory that matches your OS. Then run this command (change the URL accordingly):

pip install --only-binary wxpython -f https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-16.04/ wxpython

Once wxPython has been installed, you can install FSLeyes like so:

pip install fsleyes

To install FSLeyes with all of the optional dependencies (for additional functionality):

pip install fsleyes[extras]

As an alternate to using pip, FSLeyes is also available on conda-forge:

conda install -c conda-forge fsleyes

Dependencies

All of the core dependencies of FSLeyes are listed in requirements.txt.

Some extra dependencies, which provide additional functionality, are listed in requirements-extras.txt and requirements-notebook.txt.

Dependencies for running tests and building the documentation are listed in requirements-dev.txt.

Being an OpenGL application, FSLeyes can only be used on computers with graphics hardware (or a software GL renderer) that supports one of the following versions:

  • OpenGL 1.4, with the following extensions:

    • ARB_vertex_program

    • ARB_fragment_program

    • EXT_framebuffer_object

    • GL_ARB_texture_non_power_of_two

  • OpenGL 2.1, with the following extensions:

    • EXT_framebuffer_object

    • ARB_instanced_arrays

    • ARB_draw_instanced

FSLeyes also requires the presence of GLUT, or FreeGLUT.

Documentation

The FSLeyes user and API documentation is written in ReStructuredText, and can be built using sphinx:

pip install -r requirements-dev.txt
python setup.py userdoc
python setup.py apidoc

The documentation will be generated and saved in userdoc/html/ and apidoc/html/.

Credits

Some of the FSLeyes icons are derived from the Freeline icon set, by Enes Dal, available at https://www.iconfinder.com/Enesdal, and released under the Creative Commons (Attribution 3.0 Unported) license.

The volumetric spline interpolation routine uses code from:

Daniel Ruijters and Philippe Thévenaz, GPU Prefilter for Accurate Cubic B-Spline Interpolation, The Computer Journal, vol. 55, no. 1, pp. 15-20, January 2012. http://dannyruijters.nl/docs/cudaPrefilter3.pdf

The GLSL parser is based on code by Nicolas P . Rougier, available at https://github.com/rougier/glsl-parser, and released under the BSD license.

DICOM to NIFTI conversion is performed with Chris Rorden’s dcm2niix (https://github.com/rordenlab/dcm2niix).

The brain_colours colour maps were produced and provided by Cyril Pernet (https://doi.org/10.1111/ejn.14430).

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

fsleyes-0.30.1.tar.gz (51.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsleyes-0.30.1-py2.py3-none-any.whl (61.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file fsleyes-0.30.1.tar.gz.

File metadata

  • Download URL: fsleyes-0.30.1.tar.gz
  • Upload date:
  • Size: 51.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.7

File hashes

Hashes for fsleyes-0.30.1.tar.gz
Algorithm Hash digest
SHA256 ff862287df8831012c0a83765b287d6bd442bbc2341ca82e9a937f7e7a6b7342
MD5 4b06ecc9fbcdae5f666038c95d282b1e
BLAKE2b-256 38d029e42604acf28c60c074d94b50c95b32c21a4784900a2f0f25fa3e51359b

See more details on using hashes here.

File details

Details for the file fsleyes-0.30.1-py2.py3-none-any.whl.

File metadata

  • Download URL: fsleyes-0.30.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 61.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.7

File hashes

Hashes for fsleyes-0.30.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a3abddac2fba900cacc640fc0487048a2298d95e78fefe64374e397456052790
MD5 1377d63011b60187cbe5df178da9cb79
BLAKE2b-256 813307cce30eb3da32e2058624c22883c8d6c51f61d402e4bfe16ab4f54bca8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page