Skip to main content

Python tools and utilities for working with the AnyBody Modeling System

Project description

AnyPyTools

MIT License test JOSS paper

AnyPyTools is a toolkit for working with the AnyBody Modeling System (AMS) from Python. It enables reproduceable research with the AnyBody Modeling System, and bridges the gap to whole ecosystem of open source scientific Python.

The AnyPyTools Python package enables batch processing, parallization of model simulations, model sensitivity studies, and parameter studies, using either Monte-Carlo (random sampling) or Latin hypercube sampling. It makes reproducible research much easier and replaces the tedious process of manually automating the musculoskeletal simulations and aggregating the results.

If you use the library for publications please cite as:

Lund et al., (2019). AnyPyTools: A Python package for reproducible research with the AnyBody Modeling System. Journal of Open Source Software, 4(33), 1108, https://doi.org/10.21105/joss.01108

Installation

conda config --add channels conda-forge
conda install anypytools

The library is also available on PyPi for installing using pip.

Usage

The simplest case:

from anypytools import AnyPyProcess
app = AnyPyProcess()
macro = [
    'load "Model.main.any"',
    'operation Main.Study.InverseDynamics',
    'run',
]
app.start_macro(macro)

Please see the Jupyter Notebook based tutorial, or check the the following for more information:

Don't panic

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

anypytools-1.13.0.tar.gz (3.2 MB view details)

Uploaded Source

File details

Details for the file anypytools-1.13.0.tar.gz.

File metadata

  • Download URL: anypytools-1.13.0.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for anypytools-1.13.0.tar.gz
Algorithm Hash digest
SHA256 3ec9b5fc5e2c3d97dc15dcf6a6231d7e3c5b993f7ffc24bc464f9aa9100b5c80
MD5 3814ccaf55fb639801f53e289b693a88
BLAKE2b-256 3eed60adcf1b8e6cb55e239d96be0bed5319f82f2f4bd848d270c21f59f01e82

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