Skip to main content

A module for useful quick mathematical calculation, plotting and animation.

Project description

ODE Animate

PyPI version

This project aims to be a set of tools for solving, plotting, and animating curves and fields.

The rational for this is, trying to use pure-python to do numerical analysis.

Most techniques here are going to be without the use of any external modules.

The only external modules that are used directly by this project are:

  • matplotlib, which is used to configure the figures for plotting.
  • ffmpeg-python, which is used to gather several figures and turn them in to animations.

Features

Most of this features are W.I.P. (work in progress)

  • Vector objects with basic operations.
  • Function utilities for real valued functions.
  • Automatic plotting for real valued functions.
  • Generic ODE integrators.
  • Utilities for curves.
  • Utilities for surfaces.
  • Animation Loop and widgets

Development

Initially this project was developed with pipenv, but for publishing pourpuses I decided to change to Poetry.

In order to install the project for development (meaning you are intending to work with it to extend it's capabilities, or improve it's documentation), you should make sure you have poetry installed in your machine (check the link above), and simply execute poetry install, and after you can start running python commands with it as

  • poetry run python will run python with the configuration required to use this project.
  • poetry run jupyter lab should run you a jupyter instance to work on top of the project.
  • poetry run ./scripts/lint.sh should run the code linter.
  • poetry run ./scripts/format.sh, to format the code.
  • poetry run ./scripts/tests.sh should run the test suit, and report back any fails.
  • poetry run ./scripts/docs.sh to build the documentation html site.

Contribute

If you wish to contribute you can contact me directly, or open an issue in the github repository. The main development for this module is done in a private repository, but for visibility and public interaction I'll host this in github too.

License

This project is under the GPL2 License.

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

odeanimate-0.0.7.tar.gz (29.5 kB view hashes)

Uploaded Source

Built Distribution

odeanimate-0.0.7-py3-none-any.whl (30.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page