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.
Metadata
Release files for stosim 0.2.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stosim-0.2.13.tar.gz | 19.4 kB | Details |
Release files / stosim-0.2.13.tar.gz
| Download URL | stosim-0.2.13.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fda763fa0d762a6347d7ce8f0b055e51e0538eb862de3a9fde2e02278794323
|
|
BLAKE2b-256 checksum How to use checksums |
ed861eceb8e43ebefc617b9ecc6cf26c542696e04c7c53f61cd0abd8695afc0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |