Skip to main content

Atomica

Build Status Documentation Status

Atomica is a simulation engine for compartmental models. It can be used to simulate disease epidemics, health care cascades, and many other things.

Atomica is still under development; please check back regularly for updates.

Installation

Atomica is available for Python 3 only. Because we develop using Python 3.7, it is possible that dictionary order is relevant (although we endeavour to use ordered dictionaries via Sciris in places where order matters). Therefore, we only officially support Python 3.7, as this is the first Python release that guarantees ordering of all dictionaries.

Git installation

Use the Git installation method if you plan to make changes to the Atomica source code. First, you will need a Python environment containing the numpy, scipy and matplotlib. In theory these can be installed automatically as dependencies for atomica, but in practice, these packages can require system-level setup so it is usually easiest to install them separately beforehand.

We recommend installing via Anaconda, which facilitates getting the binaries and dependencies like QT installed in a platform-agnostic manner. We also recommend working within an Anaconda environment.

You may also wish to install mkl first, before installing numpy etc. to improve performance. So for example:

conda install mkl
conda install numpy scipy matplotlib

Then, you can install Atomica into the environment using:

git clone https://github.com/atomicateam/atomica.git
cd atomica
python setup.py develop
cd atomica/tests
python testworkflow.py

Troubleshooting

Installation fails due to missing numpy

If running python setup.py develop in a new environment, numpy must be installed prior to scipy. In some cases, installing numpy may fail due to missing compiler options. In that case, you may wish to install numpy via Anaconda (by installing Python through Anaconda, and using conda install numpy scipy matplotlib). In general, our experience has been that it is easier to set up the C binaries for numpy and the QT dependencies for matplotlib via Anaconda rather than doing this via the system, which involves different steps on every platform.

Download files

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

Source Distribution

atomica-1.0.21.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atomica-1.0.21-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file atomica-1.0.21.tar.gz.

File metadata

  • Download URL: atomica-1.0.21.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for atomica-1.0.21.tar.gz
Algorithm Hash digest
SHA256 ec90fd274829b97860baf3939c653b2ee68a5c629458c83f34d4fb2fd7f629bd
MD5 4739aef2da59c599989b77992fbf429d
BLAKE2b-256 2d10441bd5fda5e71b6df65e2b8e02e054187146df0ccb0de14da22697c6fa9a

See more details on using hashes here.

File details

Details for the file atomica-1.0.21-py3-none-any.whl.

File metadata

  • Download URL: atomica-1.0.21-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for atomica-1.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 d0fdc41c2538780b9cbf248ca7be458c3da16901d9a065f89753bd16551c12c7
MD5 f4af6912d1c35360f21b042ce5dc6a7b
BLAKE2b-256 44ffb97db0405aa54113e090971f8bed226870870d8108b99f22465623944559

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 Sentry Error logging StatusPage Status page