Skip to main content

No project description provided

Project description

cromosim

CROMOSIM is a Python Library for Crowd Motion Simulation.

The aim of this open source project is to make it possible to users to run simulations based from several models (cellular automata, microscopic simulations or using compartments), to test new configurations, and even to investigate the possibility to program their own model in complex geometry : do-it yourself !

This package proposes Python implementations of the numerical methods detailed in the book “Crowds in equations: an introduction to the microscopic modeling of crowds” by B. Maury (ENS Ulm & Univ. Paris-Sud) and S. Faure (CNRS), World Scientific 2018, Advanced textbooks in mathematics.

How to use cromosim ?

First you have to install cromosim, either by using pip:

~$ pip install cromosim

or by manually installing the package:

cromosim$ python setup.py install

Once cromosim is installed, you can verify that it is possible to import it into Python:

~$ python
Python 3.7.7 (default, Mar 10 2020, 15:43:33)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cromosim
>>> print(cromosim.__version__)
2.0.0
>>>

Now to make a first simulation, you can download one of the examples found in:

https://github.com/sylvain-faure/cromosim/tree/master/examples

or retrieve all the examples available using the following command (svn is the Subversion command):

~$ svn export https://github.com/sylvain\-faure/cromosim/trunk/examples my-cromosim

and then run a first example:

~$ cd my-cromosim/micro/granular
granular$ python micro_granular.py --json input_room.json

These examples will allow you to start your own calculations.

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

cromosim-2.0.2.tar.gz (43.8 MB view details)

Uploaded Source

Built Distributions

cromosim-2.0.2-py3.7.egg (64.7 kB view details)

Uploaded Source

cromosim-2.0.2-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file cromosim-2.0.2.tar.gz.

File metadata

  • Download URL: cromosim-2.0.2.tar.gz
  • Upload date:
  • Size: 43.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for cromosim-2.0.2.tar.gz
Algorithm Hash digest
SHA256 a4db9e5b6423e95dc08a36767eb4fedf28fd62ea75b4a02bb9fd6bd4edaec798
MD5 591e6c203426276453c39762a429b44d
BLAKE2b-256 9f375ba08dceebc3bcb19a2d62c31941473fa7605029e79139d9fccdc54d53ee

See more details on using hashes here.

File details

Details for the file cromosim-2.0.2-py3.7.egg.

File metadata

  • Download URL: cromosim-2.0.2-py3.7.egg
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for cromosim-2.0.2-py3.7.egg
Algorithm Hash digest
SHA256 f2df00a4a13780ce3038fb88b128596e38a14b8833e16620f63a923d78dc42a6
MD5 7efb34cb8f0606aaf0f9aa5e809aed89
BLAKE2b-256 e5949d937ebbbcda3fe677b1e7e0155c2bd30383bf35e7982f6c30cfa837b28f

See more details on using hashes here.

File details

Details for the file cromosim-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: cromosim-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for cromosim-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fb63f213547efaabb37ea292a023b2f2741d9ed6329ae4d52a8fa3e5d7fb276
MD5 92600074aacd0a8099153502e1889a58
BLAKE2b-256 fc0c352a27e72eaf8bf3e209ae9be470200033ebf4bc96a1584ea4c529db0f74

See more details on using hashes here.

Supported by

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