Skip to main content

Stochastic Simulations

Project description

What is this?

StoSim runs stochastic simulations.

You write the actual simulation, but StoSim relieves you of: - Arranging runs for all combinations of your dependent variables. - Distributing workload across several CPUs, even on different machines. The latter works in a local environment with shared home directories or on a PBS cluster. - Generating nice paper-ready plots and T-Tests from the results.

You can find extensive documentation at http://homepages.cwi.nl/~nicolas/stosim/

Example simulations are in the “example” folder - see code at Github: https://github.com/nhoening/stosim (the examples are discussed in tutorials in the documentation).

Dependencies

You need Python 2.7, or 2.6 if you install the argparse module locally. You need my fjd program to schedule simulations across CPUs (but it gets installed automatically when you install via pip). For plotting, you need gnuplot and epstopdf (some tips: for debian-linux, epstopdf is currently in the “texlive-extra-utils” package. On OSX, install gwTex via i-installer). For T-Tests, you need Gnu R installed.

Running a simulation

Place an experiment configuration and your simulation code in a folder of your choice (see basic example). Call:

stosim --folder <path-to-your-experiment-folder>

You can leave the –folder option away if stosim.conf is in the current directory. The results will be put in the “data” directory, in your folder (but if you like the plotting capabilities of StoSim you might never have to look there).

Enjoy.

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

stosim-0.2.14.tar.gz (19.5 kB view details)

Uploaded Source

File details

Details for the file stosim-0.2.14.tar.gz.

File metadata

  • Download URL: stosim-0.2.14.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stosim-0.2.14.tar.gz
Algorithm Hash digest
SHA256 15b71382870121fac7b256d33e1d27ee61f47dff3a49437dfe6122af5c0af009
MD5 7e62560269b95777942e543e6d6d4c1d
BLAKE2b-256 3b635e3782c002b2271ccb28f870a4cdcb142124a80ef5d6e1678e4907f3ba18

See more details on using hashes here.

Supported by

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