Skip to main content

No project description provided

Project description

PyPi version crates.io

rust-roche is a translation of Tom Marsh's C++ cpp-roche package for modelling Roche-distorted binary systems. It also has a few useful functions and types from cpp-subs such as Vec3 and Point.

Rust

The latest version of rust-roche can be viewed at rust-roche and can be added to a rust project with

cargo add rust-roche

Some functions from cpp-roche have not been translated yet so this is still a work-in-progress. Please add an issue on the Github repo if there's a specific function from cpp-roche that you'd like adding.

Functions still to add are:

  • qirbs
  • pvstream

Python

This package has also been wrapped for python to replicate trm-roche and can be installed with pip from PyPI

pip install roche

This is very much a first go at it. Most functions have been tested against their trm.roche counterparts however not all functions have been tested as of yet and some bugs may remain. Please add an issue on the Github repo if you find any.

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

roche-0.4.4.tar.gz (43.3 kB view details)

Uploaded Source

Built Distributions

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

roche-0.4.4-cp38-abi3-win_amd64.whl (257.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.4.4-cp38-abi3-manylinux_2_35_x86_64.whl (407.5 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.35+ x86-64

roche-0.4.4-cp38-abi3-macosx_11_0_arm64.whl (357.1 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file roche-0.4.4.tar.gz.

File metadata

  • Download URL: roche-0.4.4.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for roche-0.4.4.tar.gz
Algorithm Hash digest
SHA256 547ee12a1cdf8d74bfc7af6da5e5c4b2c9f10fbec9781d5e3f10ca60a5d4debb
MD5 6ba32549603b21dbc3f372c6704e9b43
BLAKE2b-256 e8593958eb65b2aa72c5ba4795602758ebcc2632178a715c59651d4de20f1756

See more details on using hashes here.

File details

Details for the file roche-0.4.4-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: roche-0.4.4-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 257.9 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for roche-0.4.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2bf51ebe037ba3a995efd27763de997e5d27e404c12eb338d83cfec2c812a024
MD5 eae7836e4285c0ba4937776851d1d867
BLAKE2b-256 91428ef85c08f72e1e542c934c406576a1945235c5eeabd27375657b0175513a

See more details on using hashes here.

File details

Details for the file roche-0.4.4-cp38-abi3-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for roche-0.4.4-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 7f3cdbd4e8dbbf71dc4dfeb0698e4672faf2ba4664979b8a6a80152df7521e90
MD5 ab74fe5064a29d10ea26c6a754372b0f
BLAKE2b-256 ea533b1abcc43a18b239cd7898abf38a9dd1cb1e9de30c79a2ac724489b56fe7

See more details on using hashes here.

File details

Details for the file roche-0.4.4-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for roche-0.4.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f3c264e6ef45d68168ade2fa26e3844f51fc0672f31729ff44b04abe22e658f
MD5 7a2228305fc9d8df78c9b4baf69e60b2
BLAKE2b-256 4ee1996cf65529d72fd8036430fe14add21908173cfc43c9ffb236a08f62940a

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