Skip to main content

Currently refactoring - please do not yet install!

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.

There are example simulations in the “example” folder and you can find extensive documentation at http://homepages.cwi.nl/~nicolas/stosim/

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.py –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.

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.0.2.tar.gz (7.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for stosim-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d175ee48d5a3583fdaee76bc229df2eacd54a2fb5b1eaaa5aabe44386228429d
MD5 710e342d21cd714c3e4e638a9cdc167f
BLAKE2b-256 8d469719111e7e2983bdc542643c3dae66d0d9164d87b7603b46eb1b116b27e5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.22

1 file

0.2.21

1 file

0.2.20

1 file

0.2.19

1 file

0.2.18

1 file

0.2.17

1 file

0.2.16

1 file

0.2.15

1 file

0.2.14

1 file

0.2.13

1 file

0.2.12

1 file

0.2.11

1 file

0.2.10

1 file

0.2.9

1 file

0.2.8

1 file

0.2.7

1 file

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2

1 file

0.1

1 file

This release

0.0.2 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page