simple basic framework for a simulation
Project description
Simobject
General framework for a simultation:
Simulation
object withQuantities
that can be updated in a specified orderQuantities
objects that behave likenumpy.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
andQuantities
inherit from theHeartbeatObject
which provide aSystoler
,Updater
, andDiastoler
(those are also allUpdater
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
- calls its own
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.1.tar.gz
(22.7 kB
view hashes)
Built Distribution
Close
Hashes for simobject-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe59d9bdd77f17405ed36ea828d128933ce603a9c04e0246d4d5f05e0adb2fe |
|
MD5 | aace9c160a9f10f636ff88e49b83b54a |
|
BLAKE2b-256 | 62eca150401002600fc8ca5b7aa852a02a55b52e0f4f4f85a214b73e11420758 |