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


Release history Release notifications

History Node

0.2.22

History Node

0.2.21

History Node

0.2.20

History Node

0.2.19

History Node

0.2.18

History Node

0.2.17

History Node

0.2.16

History Node

0.2.15

History Node

0.2.14

This version
History Node

0.2.13

History Node

0.2.12

History Node

0.2.11

History Node

0.2.10

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1

History Node

0.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
stosim-0.2.13.tar.gz (19.4 kB) Copy SHA256 hash SHA256 Source None Feb 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page