Skip to main content

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.

Metadata

Release files for gias3 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gias3 3.0.1
File Size Uploaded
gias3-3.0.1.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gias3 3.0.1
File Interpreter ABI Platform
gias3-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / gias3-3.0.1.tar.gz

Download URL gias3-3.0.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
283e7af2c6b03e8c290a4e47553fb574f05d9784a5b21b4156faf443e8a2aec1
BLAKE2b-256 checksum
How to use checksums
3aa240d9549b8792a19a4c253a885f40eddb49515334fc7c567f5c88805579a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / gias3-3.0.1-py3-none-any.whl

Download URL gias3-3.0.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29ac7f62d967d3e2f2096bb707eee1ea62f14288560728dca40a431cd34f3f95
BLAKE2b-256 checksum
How to use checksums
45bea026f77fbf0b782a1f354acf477d465a8025a2f3be5046fc5243f9870fcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page