Skip to main content

simple basic framework for a simulation

Project description

https://codecov.io/gh/birnstiel/simobject/branch/master/graph/badge.svg https://travis-ci.org/birnstiel/simobject.svg?branch=master Documentation Status

Readme

General framework for a simulation:

  • Simulation object with Quantities that can be updated in a specified order

  • Quantities objects that behave like numpy.ndarrays but can be set to be constant, contain information, and have functions to update them.

  • Updater object that can define how a quantity is updated.

  • Simulation and Quantities inherit from the HeartbeatObject which provide a Systoler, Updater, and Diastoler (those are also all Updater objects) and functions to call or set them

  • The Simulation object has its own update function which in this order - calls its own systole update - calls the systole updates of its quantities - calls the update updates of its quantities - calls the diastole updates of its quantities - calls its own diastole update

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

simobject-0.1.5.tar.gz (24.7 kB view hashes)

Uploaded Source

Built Distribution

simobject-0.1.5-py3-none-any.whl (7.2 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