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
Metadata
Release files for roche 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| roche-0.5.0.tar.gz | 43.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| roche-0.5.0-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details |
| roche-0.5.0-cp38-abi3-manylinux_2_35_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.35+ x86-64 | Details |
| roche-0.5.0-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 1.1 MB
Release files / roche-0.5.0.tar.gz
| Download URL | roche-0.5.0.tar.gz |
|---|---|
| Size | 43.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6e5d2ad2c433f0ed2e769282da6eec2350b917942c39d4968866ff49b3daf98
|
|
BLAKE2b-256 checksum How to use checksums |
de18125376a8d395635a75e8333b34d912d0919918367a543bc36c68c230e69b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.14.1
|
Release files / roche-0.5.0-cp38-abi3-win_amd64.whl
| Download URL | roche-0.5.0-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 256.6 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
65f19460777893409b332db815b382ca2c321cbdd79412d2ce400eecc4c647c1
|
|
BLAKE2b-256 checksum How to use checksums |
5d532af47e919e3b4309e58182483ce345a14c0d37a94cd5ec5c8d3acf8768b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.14.1
|
Release files / roche-0.5.0-cp38-abi3-manylinux_2_35_x86_64.whl
| Download URL | roche-0.5.0-cp38-abi3-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 404.3 kB |
| Tags | CPython 3.8 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
959d7859c8dbc8f72456ea89426122230a3be3020e7f76d88262b23738880714
|
|
BLAKE2b-256 checksum How to use checksums |
3df83eed4a1dd1b84b31d06fb8b9487fd57d9b665f7462d980c990d61e84d431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.14.1
|
Release files / roche-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | roche-0.5.0-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 355.6 kB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
97b885742d77ee03fbb1ecd352417e08295c35250a1f09337a786c4774b72427
|
|
BLAKE2b-256 checksum How to use checksums |
28e66d68b70f242301443bf51b2fc7eb55e8ea59fb61b25df6ec5d8a3b3a8ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.14.1
|