Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A library for including additional forces in REBOUND

Project description

.. image:: http://img.shields.io/badge/REBOUNDx-v2.19.3-green.svg?style=flat
:target: http://reboundx.readthedocs.org
.. image:: https://badge.fury.io/py/reboundx.svg
:target: https://badge.fury.io/py/reboundx
.. image:: https://travis-ci.org/dtamayo/reboundx.svg?branch=master
:target: https://travis-ci.org/dtamayo/reboundx
.. image:: https://coveralls.io/repos/dtamayo/reboundx/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/dtamayo/reboundx?branch=master
.. image:: http://img.shields.io/badge/license-GPL-green.svg?style=flat
:target: https://github.com/dtamayo/reboundx/blob/master/LICENSE
.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
:target: http://reboundx.readthedocs.org/
.. image:: https://img.shields.io/badge/launch-binder-ff69b4.svg?style=flat
:target: http://mybinder.org/repo/dtamayo/reboundx

Welcome to REBOUNDx (eXtras)
====================================

REBOUNDx allows you to easily incorporate additional physics into your REBOUND simulations.
All the computationally expensive parts of the code are written in C, so that the code will run much faster than if you define your own custom `additional_forces` functions in Python.

For a list of supported effects, installation instructions, tutorials/examples and documentation, please see http://reboundx.readthedocs.org.

.. image:: https://github.com/dtamayo/dtamayo.github.io/blob/master/pix/reboundx.png

Changelog
=========
- 2.19.0 Updated for REBOUND version 2 of the simulationarchive
- 2.18.0 Added support for attaching graviational harmonics (J2/J4) to particles
- 2.17.0 Added support for applying forces as leapfrog operators (for velocity-dependent forces)
- 2.16.0 Added support for binaries and simulationarchive
- 2.14.0 Added track_min_distance
- 2.13.0 Fixed collision for long integrations and added support for arrays
- 2.12.0 Added central force effect
- 2.11.0 Added tidal precession
- 2.10.0 Streamlined code for adding new effects (see below)

Update: REBOUNDx 2.16.0
=======================

We have added support for writing and loading REBOUNDx binary save files, making it possible to use REBOUND SimulationArchives for machine-independent, bit-by-bit reproducible simulations with additional effects. We also improved the support for array parameters, and updated the documentation. We added information in the binary files of the githash used to generate it, making it easier to match up versions to reproduce simulations.

Update: REBOUNDx 2.13.0
=======================

We have added support for array parameters, and have settled on what we think should be a general enough API going forward.
We also fixed a memory collision issue for long integrations, so you should update to the new version when possible.

Update: REBOUNDx 2.10.0
=======================

After getting feedback from users and some experimentation with different types of effects one might wish to add to simulations, we have implemented a more streamlined scheme for adding new effects.
In this new version, code that you add in C will be automatically callable from the Python version without any of the coding overhead that was required before.
For details, see http://reboundx.readthedocs.io/en/latest/add_effect.html

On the Python side We have also developed a custom dictionary for accessing/setting effect/particle parameters (before we were using a quick and dirty solution of hijacking default getters and setters).
This has changed some of the syntax, and previous code using REBOUNDx will need (small) modifications to work with version 2.10.0.
The changes should be clear from inspection of the various examples in the documentation (see links in http://reboundx.readthedocs.io/en/latest/effects.html).
Some of these changes led to feature additions in REBOUND, so you should also update REBOUND to at least version 2.19.2 (see Sec. 5.3 of http://rebound.readthedocs.org/en/latest/python_quickstart.html).
Let me know if you have any feedback / issues.

Project details


Release history Release notifications

This version
History Node

2.19.3

History Node

2.19.2

History Node

2.18.1

History Node

2.18.0

History Node

2.17.3

History Node

2.17.2

History Node

2.17.0

History Node

2.16.0

History Node

2.14.3

History Node

2.14.2

History Node

2.14.0

History Node

2.13.0

History Node

2.12.0

History Node

2.11.3

History Node

2.11.2

History Node

2.11.1

History Node

2.11.0

History Node

2.10.0

History Node

2.9.0

History Node

2.8.8

History Node

2.8.7

History Node

2.8.6

History Node

2.8.5

History Node

2.8.4

History Node

2.8.3

History Node

2.8.2

History Node

2.8.1

History Node

2.8.0

History Node

2.7.6

History Node

2.7.5

History Node

2.7.4

History Node

2.7.3

History Node

2.7.2

History Node

2.7.1

History Node

2.7.0

History Node

2.6.0

History Node

2.5.0

History Node

2.4.1

History Node

2.4.0

History Node

2.3.1

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.1.1

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
reboundx-2.19.3.tar.gz (64.1 kB) Copy SHA256 hash SHA256 Source None Jun 21, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page