How can I access and modify diffusion data (such as the decay constant) in Python?


57
views
0
3 months ago by
Hi,

Say I want to add a steppable in Python to vary the values of the diffusion constant and decay constant from the diffusion data specified in XML for one of the chemical fields involved in the system. Basically, I want to have the values of these constants varied in certain conditions. So I know how to access the concentration field from the Python Scripting Manual, but not sure how to access and monitor the diffusion data in Python.

Thank you in advance,
Community: CompuCell3D

1 Answer


3
3 months ago by
This is called steering and you can do it from Python. Here is the tutorial/instruction you would follow to have it set up.
http://pythonscriptingmanual.readthedocs.io/en/latest/steering_changing_cc3dml_parameters_on-the-fly.html?highlight=steering

Please scroll down and take a look at the "Simplifying steering - XML access path" section. It has instructions for how to implement steering using simpler API

If you have any questions or problems please let us know . If something is unclear in the manual let us know and we will fix the text
Please login to add an answer/comment or follow this question.

Similar posts:
Search »