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.tar.gz
(22.7 kB
view hashes)