Skip to main content

Python port of Generalized Rotne Prager Yakamava tensors

Project description

PyGRPY

Python port of Generalized Rotne Prager Yakamawa hydrodynamic tensors. These are a convenient approximation for modeling hydrodynamic interactions in Stokes flow.

Now also supports jax, and jax.grad.

Usage

Finding Stokes radius of rigid conglomerate of beads.

import pygrpy
import numpy as np
centres = np.array([[0,0,0],[0,0,1]])
radii = np.array([1,1])
print(pygrpy.grpy.stokesRadius(centres,radii)) # prints 1.18...

Original code

Original code in Fortran90 by Pawel Jan Zuk here: https://github.com/pjzuk/GRPY

License

This software is licensed under GNU GPLv3

Copyright (c) Pawel Jan Zuk (2017) - unported code.

Copyright (c) Radost Waszkiewicz (2021) - python port.

How to cite

Zuk, P. J., B. Cichocki, and P. Szymczak GRPY - an accurate bead method for calculation of hydrodynamic properties of rigid biomacromolecules; Biophys. J. (submitted) (2017)

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

PyGRPY-0.0.7.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

PyGRPY-0.0.7-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file PyGRPY-0.0.7.tar.gz.

File metadata

  • Download URL: PyGRPY-0.0.7.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for PyGRPY-0.0.7.tar.gz
Algorithm Hash digest
SHA256 f442c071609b5547031c1e69ebcda4c8ef61f5d86a5bd178389cb07d1a230a43
MD5 b28f48b7de1337aac9994afe34707f30
BLAKE2b-256 2e1a069e83a4b3fa3753355305c55f4999c6d1c42fa15309be4045088823f49b

See more details on using hashes here.

File details

Details for the file PyGRPY-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: PyGRPY-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for PyGRPY-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ab2bfd50e1f02044761b3b611007e66985417ee3a886b26758d74164c1feb2
MD5 6cd6c4b0c1b42c4c3a9866a155a4830a
BLAKE2b-256 55a22ba391f1b63bd7a53f216f2d21162c207ba6ab98d539f1daf2bb1b5125b8

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