Skip to main content

SOPSim simulation library

Reason this release was yanked:

SOPSim function does not run and is broken

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:

  1. The official SOPSim website
  2. As a Command line tool
  3. As a website, local to your computer
  4. 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 = 4 implies a 4x4 tissue
  • Nc>=10 can take many hours to run, so start smaller when testing

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

sopsim-0.2.1.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

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

sopsim-0.2.1-py3-none-any.whl (75.0 kB view details)

Uploaded Python 3

File details

Details for the file sopsim-0.2.1.tar.gz.

File metadata

  • Download URL: sopsim-0.2.1.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sopsim-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9e3687ddaa89b213f10d2b3f3b32eb9248194e7bf5efe41c7ff5da2cb45b7a02
MD5 0f2beed5b038b9c36dfe503157da971d
BLAKE2b-256 72181ff2e11e9575cb5c7f2b3bf96162b44216acc9448cc1c7d57ee2dc785d13

See more details on using hashes here.

File details

Details for the file sopsim-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sopsim-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 75.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sopsim-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17eb1f3a8ad10716c4d39e2b8fe50c3d387a7d967165d71731164636c341708e
MD5 bcd1ea31d843dde7ce546eb3d52809fd
BLAKE2b-256 3b8f3da4e8c4355c3c4de58f196863aadca220e0c85fb7cdf56cf2c4e8b05e2d

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