Skip to main content

GUI to load parameters into agent-based modeling with ARCADE

Project description

ARCADE XML Generator

Pip install instructions


pip install 

Running instructions

To run the arcade_xml_generator run gui.py in your preferred python interpreter. From there, simply select the values you wish to simulate and then hit run-- it's that simple.

When the module is fully released, interactions with this gui will create a setup .xml file for use with ARCADE.

Background on ARCADE

ARCADE is an agent-based modelling system, created by the Bagheri lab, that is provides information on emergent properties of groups of cells. ARCADE runs in java but requires .xml files to provide the rules to its agents. The parameter options are stored in separate .xml files and interfacing between the two can be challenging.

Versions

Arcade is a flexible software that allows for different setups depending on the module. This allows for simulations of different tissues such as wound healing or tumor growth. Two notable ARCADE modules are Patch and Potts. Currently the xml_generator is only set up for patch but planned development includes a potts module.

Structure of Set Up .xml File

The set up .xml file that is produced by the ARCADE XML Generator will have the following primary branches:

  • Series and Set -- These parameters general instructions for the simulation such as how long the simulation is, the tick rate, and how many simulations should be run.

  • Populations -- These parameters determine the rules for the agents such as tumor cells or healthy tissue cells.

  • Actions -- These parameters determine disturbances to the population such as mutations or injury.

  • Layers -- These parameters determine the environment such as oxygen or TGFA.

  • Components -- These parameters determine the spatial organization of the layers.

    An example of this file can be seen in docs/example_output/setup_hex.xml

These files are produced by parsing multiple .xml files and combining them with user input. A patch setup file, for instance, reads in both a parameter.xml file and parameter.patch.xml file.

Dependencies

The primary dependencies of this software are PyQt, ElementTree, sys, os, dataclasses, typing, and copy.

To be Developed

Coming in this Version

  • Ability to save GUI inputs

  • Compiling functionality

  • Patch functionality

Future Versions

  • Linter

  • Run Commands in Bash

  • Run directly into ARCADE button

  • Potts functionality

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

arcade_xml_generator-0.0.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

arcade_xml_generator-0.0.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file arcade_xml_generator-0.0.1.tar.gz.

File metadata

  • Download URL: arcade_xml_generator-0.0.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for arcade_xml_generator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1d1701485dc3eb51830c0c40401877fb484f7dcc87dc8eb4831050ddd7c0621c
MD5 2a44c362c6db40b68fa0dc753aa3e86c
BLAKE2b-256 9b0c21bd09cf300b21f4a93ab49e4b417542e6c8f60ac2133858e8277734b70d

See more details on using hashes here.

File details

Details for the file arcade_xml_generator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for arcade_xml_generator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cad91a054be065a4f3dccf0bc0a74b9f29e25832acb2d6e2143969e4dd89bac
MD5 87fb5fcc2b183e18a5b464716a502f47
BLAKE2b-256 6180f722065f0f4a71bc036f6a1a7e7a1ab4e9dac6d020618813df0f19b15b61

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