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

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.

Some functions from cpp-roche/trm-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/trm-roche that you'd like adding.

Functions still to add for Python are:

  • astream
  • pvstream
  • qirbs

Functions still to add for Rust are:

  • third_contact
  • fourth_contact
  • eprob
  • flobe1
  • hits
  • irrad
  • rdot
  • rlobe_eggleton

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.5.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.5-cp38-abi3-win_amd64.whl (257.0 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.4.5-cp38-abi3-manylinux_2_35_x86_64.whl (407.2 kB view details)

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

roche-0.4.5-cp38-abi3-macosx_11_0_arm64.whl (356.1 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for roche-0.4.5.tar.gz
Algorithm Hash digest
SHA256 e275bcef2d0933b9b37ff1711c3607488d9251a9df5559d829c5f3c79ee2b201
MD5 6689529a0fc0a51a5c4cdb67604c3baf
BLAKE2b-256 0800540fff4dae96800dbf04bf68c0993633d9e4e8dac12d7547a4b4c9797413

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for roche-0.4.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e24b2e0ebe95834a651799b328ce3cbd000592f2c7f6bc304277136350bfc2ca
MD5 77f749b2dc06615532c721fb2ee1d7d4
BLAKE2b-256 796502ac2ad20de004302e5b842fcf9bf189efd0878f59bf5ba08261e7166200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.4.5-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 202738c1a33826de690f67cc7617093a5b6a251f2cb0f6f757a9940f4ba62079
MD5 d2d6ea4b34d8f25a62aa06fc14d1fc65
BLAKE2b-256 b95bce65104fdae125b3e8328b81ddaba92a5bd141180852d598611b1f822ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.4.5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c29d5b91219e22da2dbd309a305970660542b090aa5d6160d3a585adc4b4a880
MD5 b6d5de5cad21e4d7eff75df0d25e2fb1
BLAKE2b-256 3ffc9c13342c0e5ca8af3d7936b2f5d8791e65d7f875117c8dc9b4402c5235d4

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