Skip to main content

No project description provided

Project description

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.

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.2.7.tar.gz (39.6 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.2.7-cp38-abi3-win_amd64.whl (232.8 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.2.7-cp38-abi3-manylinux_2_35_x86_64.whl (382.8 kB view details)

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

roche-0.2.7-cp38-abi3-macosx_11_0_arm64.whl (335.5 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for roche-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b46c8b582577bc2246468a9abfc4ea4ad04862b3941b61e8c560dd343e3d455f
MD5 8be22106128952e5a97b92bd6505923e
BLAKE2b-256 5da815db4306f2e24a39deed819be966855ca57fc8674d58321f3ded40d95e11

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for roche-0.2.7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5f07d5122183ff7667ca09046049dd9e1f5dcc90c89111bfa3feccdbf1b392ed
MD5 d37541c33ad2eb6024e3d5739f046717
BLAKE2b-256 647cbcb48c1a6c1fcddcf0643bc06a8562adcade59a4285166d0444e9a7321c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.2.7-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 355c350fbba938c4c57fa7d8bb8a3043ae43d05c56fdc99e8e9b015def137d73
MD5 ca0dcd1e1d967db016e340a2fe71e0c7
BLAKE2b-256 92e0dd1bcfa0c15dea025865a603b91d28b3a2e21807c4d1df0294174cd7cddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.2.7-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc694595177f721bdfc773a7ab19376a26bc36fdfcc21b4ae9c6589e70f4efa6
MD5 684ca12edbff3d738777c9d33405dcad
BLAKE2b-256 741e7ed369ae0ea010ff10a50eb80ee1322bbe2fdc38823c2f3cffa81ba14099

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