SOPSim simulation library
Reason this release was yanked:
Older release of the frontend (with cards overlapping)
Project description
SOPSim
SOPSim is a Python simulation package for investigating SOP pattern formation. You can choose to use it in one of four ways:
- The official SOPSim website
- As a Command line tool
- As a website, local to your computer
- As a Python API
Each method is explained in detail below.
1. The official SOPSim website
The official SOPSim website is available at (link coming soon).
2. As a Command line tool
Inside your command line, type:
pip install sopsim
to install the package.
Use this command below to run a single simulation:
sopsim run --nc 4 --filopodia-type A --filopodia-life-time 10 --out-dir output
In this specific example, this command will also generate plots and metadata to a folder called output.
For help, run:
sopsim run -h
3. As a website, local to your computer
After installing SOPSim with pip install, you can start the local web app with:
sopsim serve
Once you run this, copy the link and paste it into your browser. The link will show up in your terminal and will start with:
http://...
For help, run:
sopsim serve -h
4. As a Python API
Assuming you have Python and the sopsim library installed, create a new Python script and add the following code:
from sopsim import sopsim
if __name__ == '__main__':
results = sopsim(Nc=4, filopodia_type="A", filopodia_life_time=10)
print(results["FData"])
Note: In its current version, using the API does not allow users to view plots.
Input Values
The repo enforces these input rules:
| Input | Allowed values |
|---|---|
Nc (Number of cells per row in final square tissue*) |
Integer >= 1 |
filopodia_type |
One of A, B, C, D. Default = A |
filopodia_life_time |
Integer >= 1. Default = 10 |
Important:
- *
Nc = 4implies a 4x4 tissue Nc>=10can take many hours to run, so start smaller when testing
Bug fixes:
- 0.2.2: Ensures default values for filopodia type and lifetime come from a single source
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sopsim-0.2.2.tar.gz.
File metadata
- Download URL: sopsim-0.2.2.tar.gz
- Upload date:
- Size: 75.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d90ba83c13269cce654f4952f1426a664e101aef1d182778352d85b78ca6599c
|
|
| MD5 |
0c0a1a776003fee1717523c3c1fba504
|
|
| BLAKE2b-256 |
e80069277b8d8fb3abcfb37c795b8c6a1f98d8043e58877e6455c009c5add0c1
|
File details
Details for the file sopsim-0.2.2-py3-none-any.whl.
File metadata
- Download URL: sopsim-0.2.2-py3-none-any.whl
- Upload date:
- Size: 75.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad208bfb6e1bffc0beaa8e5697ff21e5cbfa1b8a07142a4febd27a384c86fec0
|
|
| MD5 |
0503efc99fbd14e9d24d508e96e38bae
|
|
| BLAKE2b-256 |
b9927db5d5d3c465b1efca440e7f9ee9caddeedbbf91c5874b7789f61266fbb5
|