Giter Site home page Giter Site logo

slam's Introduction

Surface anaLysis And Modeling (Slam)

All Contributors

Build Status Coverage Status

Slam is an open source python package dedicated to the representation of neuroanatomical surfaces stemming from MRI data in the form of triangular meshes and to their processing and analysis. Slam is an extension of Trimesh, an open source python package dedicated to triangular meshes processing.

Main Features

Look at the doc for a complete overview of available features!

  • io: read/write gifti (and nifti) file format

  • generate_parametric_surfaces: generation of parametric surfaces with random sampling

  • geodesics: geodesic distance computation using tvb-gdist and networkx

  • differential_geometry: several implementations of graph Laplacian (conformal, authalic, FEM...), texture Gradient

  • mapping: several types of mapping between the mesh and a sphere, a disc...

  • distortion: distortion measures between two meshes, for quantitative analysis of mapping properties

  • remeshing: projection of vertex-level information between two meshes based on their spherical representation

  • topology: mesh surgery (boundary indentification, large hole closing)

  • vertex_voronoi: compute the voronoi of each vertex of a mesh, usefull for numerous applications

  • texture: a class to manage properly vertex-level information.

  • plot: extension of pyglet and visbrain viewers to visualize slam objects

Prerequisites

We highly recommend to rely on a (conda) virtual environment as provided by miniconda. See miniconda installation instructions if you do not already have one. Then create a virtual environment by typing the following lines in a terminal:

  conda create -q -n slam python=3.6
  conda activate slam

This creates an empty conda virtual environment with Python 3.6 and basic packages (e.g. pip, setuptools) and make it the default python environment.

User installation

pip install brain-slam

Then have a llok at the examples from the doc website. We will propose soon real tutorials dedicated to users.

For developers / contributors

Code of conduct

The very first thing to do before contributing is to read our Code of conduct.

Have a look at the github project!

We are using a github project to organize the code development and maintenance: https://github.com/orgs/brain-slam/projects/1

If you are interested in contributing, please first have a look at it and contact us by creating a new issue.

Developers installation

  1. Create an account on Github if you do not already have one
  2. Sign in Github and fork the slam Github repository
  3. Clone your personal slam fork in your current local directory
    git clone https://github.com/<username>/slam
    
  4. Perform a full slam installation in editable mode
     pip install -e .['full']
    
  5. Set upstream repository to keep your clone up-to-date
     git remote add upstream https://github.com/brain-slam/slam.git
    

You are now ready to modify slam code and submit a pull request

Dependencies

These dependencies, whether mandatory or optional, are managed automatically and transparently for the user during the installation phase and are listed here for the sake of completeness.

Mandatory

In order to work fine, slam requires:

  • a Python 3.6 installation

  • setuptools

  • pip

  • numpy

  • scipy

  • cython

  • trimesh

  • nibabel

Optional

Distance computation

tvb-gdist is recommended for geodesic distance/shortest paths computations

Visualisation

visbrain is highly recommended for visualisation see (https://github.com/EtienneCmb/visbrain)

Developers might install in addition the following packages for CI

  • flake8, autopep8

  • pytest, pytest-cov

  • codecov

Hall of fame

All contributions are of course much welcome! In addition to the global thank you to all contributors to this project, a special big thanks to:

. https://github.com/alexpron and https://github.com/davidmeunier79 for their precious help for setting up continuous integration tools.

. https://github.com/EtienneCmb for his help regarding visualization and Visbrain (https://github.com/EtienneCmb/visbrain).

. https://github.com/aymanesouani for his implementation of a very nice curvature estimation technique.

. https://github.com/Anthys for implementing the curvature decomposition and many unitests

. to be continued...

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


alexpron

๐Ÿšง ๐Ÿ“† ๐Ÿค” ๐Ÿ’ป

JulienLefevreMars

๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ก ๐Ÿค” โš ๏ธ

Tianqi SONG

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค”

Etienne Combrisson

๐Ÿ’ป ๐Ÿ”ง

This project follows the all-contributors specification. Contributions of any kind welcome!

slam's People

Contributors

julienlefevremars avatar alexpron avatar gauzias avatar anthys avatar tianqisong0117 avatar allcontributors[bot] avatar foch789 avatar aymanesouani avatar maximedieudonne avatar etiennecmb avatar sylvaintakerkart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.