PhysiCell-Tools / PhysiCell-Studio

PhysiCell Studio is a graphical tool to allow easy editing of a (XML) model, create initial positions of cells, run a simulation, and visualize results. To contribute, fork and make PRs to the development branch.
GNU General Public License v3.0
19 stars 11 forks source link

Warning if attack rate is too high #226

Open drbergman opened 1 month ago

drbergman commented 1 month ago

If attack rate > 1/mechanics_dt, then the probability of initiating an attack is > 1. This means the attack rate exceeding 1/mechanics_dt is equivalent to setting it to 1/mechanics_dt. So, rather than let users think they're making a cell type attack more aggressively, let them know that they have maxed out the attack rate and recommend they set it lower.

drbergman commented 1 month ago

Actually, I forgot to factor in immunogenicity...it's not included in studio, so I'm not sure how to consider it. I'll just sit on this until we decide what to do about that in studio

drbergman commented 1 month ago

implemented handling for once immunogenicity is implemented. also have checks so it doesn't crash if the immunogenicity implementation ends up being changed from current commented code