Skip to content

us-itp4/pyCAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyCAP

pyCAP is a Python package for performing simulations of chiral active Brownian particles with alignment and excluded volume interactions in 2D bulk or under circular confinement.

Dependencies

Before using this package, ensure you have the following dependencies installed:

  • Python 3: The code is written in Python, so you need to have Python 3 installed on your system.

  • NumPy: NumPy is used for numerical computations and data structures, making it essential for this package.

  • Cython: Cython is required for compiling the Cython code in this package.

  • pickle: The pickle module is used for serialization and deserialization of Python objects.

pip install numpy
pip install cython
pip install pickle

Usage

To get started with the package, create a Simulation instance, initialize the simulation, and run it with your desired parameters. You can find more detailed usage information in the package documentation.

# require simulation.pyx, sim_conf.pyx, setup.py, main.py, parameter.py, parameter.txt
# compile to cython:
>>> python setup.py build_ext --inplace
# run simulation:
>>> python main.py -p parameter.txt

Documentation

This package comes with comprehensive documentation within the code. It provides explanations of class parameters, methods and usage examples.

License

This project is distributed under the MIT License, which means you are free to use, modify, and distribute it according to the terms of the license.

Publications

The following works used code in this repository:

Authors

  • Frank Siebers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors