iscc.treatment.Immunotherapy ¶
Bases: Treatment
Immunotherapy: strips a cancer cell's immune resistance so the local immune microenvironment can kill it.
Unlike the death-rate therapies it does not kill directly — it lowers
immune_resistance (by rate_multiplier ** -(1 - treatment_resistance), so
cells that are also treatment-resistant are stripped less), and the killing is done
by the local immune density in the death-rate model. With no immune_checkpoints
given it acts on every cancer cell; otherwise only on cells expressing the listed
checkpoints. Pass an instance to GenotypeTumor.grow(..., treatment=it).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
immune_checkpoints
|
list
|
Checkpoint sites a cell must express to be targeted; empty = broad (every cancer cell is a target). |
required |
**kwargs
|
{}
|
Methods:
| Name | Description |
|---|---|
discrete_event |
One-shot state edits that are NOT rate modifiers (e.g. surgical resection). The base |
discrete_event ¶
One-shot state edits that are NOT rate modifiers (e.g. surgical resection). The base
treatment does nothing; Surgery overrides this. The engine calls it once per step, so
chemo-only / no-surgery runs stay byte-identical (no state change, no rng draw).