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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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