iscc.treatment.Surgery ¶
Bases: Treatment
Surgical resection: a ONE-SHOT removal of an entire compartment at a
fixed step — not a rate modifier. At (or after) start every cell in site (default
"primary") is removed and the simulation continues on the remaining compartment(s).
Implemented through the discrete_event hook (the base Treatment defines it as a no-op), so
a run with no Surgery is byte-identical. get_dosage returns 0 always, so Surgery never
contributes a death-rate modifier — its only effect is the discrete resection. The genealogy is
not pruned, so a 2-band Muller still shows the resected compartment's band cliff to 0 at start.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
site
|
(primary, met)
|
Compartment resected at |
"primary"
|
start
|
int
|
Step at (or after) which the one-shot resection fires (default 0). |
0
|
**kwargs
|
{}
|