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 details)

Uploaded Source

Built Distribution

simobject-0.1.5-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file simobject-0.1.5.tar.gz.

File metadata

  • Download URL: simobject-0.1.5.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1.post20191122 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for simobject-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fde8522b159d43b8a9c917021a3c0f5f4013a137d157293cfadcf3d41e1a879c
MD5 71d788d208a095a4ebcf419731ba3520
BLAKE2b-256 ec28133fe98da1fc6de586bd5044871708eeda8f8d9974cf117357b5806ff184

See more details on using hashes here.

File details

Details for the file simobject-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: simobject-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1.post20191122 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for simobject-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6e660d271d549f6f30ce6bd6ec709b4f2ab98f2e98d5a5e76550947e4fa6d8a2
MD5 644d46f0d3a6900cf9498f29a7240237
BLAKE2b-256 057ec504419330505517010aa37162365e1daefab617cfa11cebec0d76359b5b

See more details on using hashes here.

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