Skip to main content

Geometry Image-Analysis Statistics version 3 (GIAS3)

Project description

A Python library for tools used in musculoskeletal modelling. Includes tools for parametric meshing, registration, image analysis, statistical shape modelling, and 3-D visualisation using Mayavi.

Modules

This meta-package includes the following modules:

See Installing optional modules for more information.

Optional dependencies

  • VTK and VTK Python bindings (for mesh processing)

  • Mayavi (for 3-D visualisation, requires Numpy, VTK, wxPython, configobj)

  • PyCSG (for generating constructive solids)

  • pydicom (for reading DICOM images)

  • Cython (speeds up active shape model and random forest segmentation)

  • matplotlib for some inbuilt plotting functions

  • OpenSIM (required for gias3.musculoskeletal)

Installation

Linux

  1. If you would like to use in-built visualisation modules, first install Mayavi for your distribution, else you can skip this step.

    1. Install VTK and VTK python bindings (e.g., through your package manager). VTK 5.10 is the most stable in my experience with Mayavi.

    2. Install mayavi through your package manager (e.g. sudo apt-get install mayavi2) or pip (e.g., pip install –user mayavi)

  2. If you would like to use the GIAS3 Musculoskeletal module, you must first install OpenSIM to your Python scripting environment. Otherwise, you may skip this step. See Installing OpenSIM for more information.

  3. Install GIAS3

    pip install gias3

Windows

  1. If you would like to use in-built visualisation modules, first install Mayavi, else you can skip this step.

    • If you are using Anaconda to manage your Python environment, use conda to install Mayavi (e.g., conda install mayavi), otherwise, use pip (e.g., pip install mayavi).

  2. If you would like to use the GIAS3 Musculoskeletal module, you must first install OpenSIM to your Python scripting environment. Otherwise, you may skip this step. See Installing OpenSIM for more information.

  3. Install GIAS3

    pip install gias3

Installing optional modules

Optional GIAS3 modules can be included in the installation by passing the corresponding keywords to pip:

  • apps = gias3.applications

  • examples = gias3.examples

  • tests = gias3.testing

  • vis = gias3.visualisation

  • io = gias3.io

  • mapclient = gias3.mapclientpluginutilities

  • musculoskeletal = gias3.musculoskeletal

For example, if you want to include the modules gias3.applications and gias3.visualisation in addition to the default modules, use the command,

pip install gias3[apps,vis]

Installing OpenSIM

To be able to make use of the GIAS3 Musculoskeletal module, the user must first install OpenSIM to their Python scripting environment.

First, download OpenSIM from this page.

Then, follow the instructions here to install OpenSIM to your Python scripting environment.

Tutorials

License

GIAS3 is under the Mozilla Public license 2.0.

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

gias3-3.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

gias3-3.0.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file gias3-3.0.1.tar.gz.

File metadata

  • Download URL: gias3-3.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for gias3-3.0.1.tar.gz
Algorithm Hash digest
SHA256 283e7af2c6b03e8c290a4e47553fb574f05d9784a5b21b4156faf443e8a2aec1
MD5 66a1b14e06ac5196ebed03c5deeafe4d
BLAKE2b-256 3aa240d9549b8792a19a4c253a885f40eddb49515334fc7c567f5c88805579a1

See more details on using hashes here.

File details

Details for the file gias3-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: gias3-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for gias3-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 29ac7f62d967d3e2f2096bb707eee1ea62f14288560728dca40a431cd34f3f95
MD5 498c3f14f7421217bdbeda89edac76f9
BLAKE2b-256 45bea026f77fbf0b782a1f354acf477d465a8025a2f3be5046fc5243f9870fcf

See more details on using hashes here.

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