Radiotherapy
compute_radiotherapy_cell_death_fractions(radiotherapy_specification, alpha=1.0, alpha_beta_ratio=10.0)
Compute cell death fractions for a given radiotherapy protocol.
This uses the linear-quadratic model to calculate the fraction of cells killed by each dose in the protocol.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
radiotherapy_specification
|
RadiotherapySpecification
|
Radiotherapy parameters, including protocol (dose and times), alpha, and alpha/beta ratio. |
required |
alpha
|
float
|
Intrinsic radiosensitivity of cells. Defaults to 1.0. |
1.0
|
alpha_beta_ratio
|
float
|
The alpha-beta ratio. Defaults to 10.0. |
10.0
|
Returns:
Type | Description |
---|---|
Dict[TreatmentTime, float]
|
Dict[TreatmentTime, float]: A dictionary mapping treatment times to cell survival fractions. |
compute_radiotherapy_cell_survival_fraction(rt, dose)
Compute the cell survival fraction for a single radiotherapy dose.
This function uses the linear-quadratic model to compute the survival fraction of cells after a given dose of radiation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rt
|
RadiotherapySpecification
|
Radiotherapy parameters, including alpha and alpha/beta ratio. |
required |
dose
|
float
|
The radiation dose administered. |
required |
Returns:
Name | Type | Description |
---|---|---|
float |
float
|
The fraction of cells surviving the dose. |
plot_radiotherapy(radiotherapy_specification)
Plot the cell survival fractions for a radiotherapy protocol.
This function computes and visualizes the cell survival fractions over time for the given radiotherapy protocol.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
radiotherapy_specification
|
RadiotherapySpecification
|
Radiotherapy parameters, including protocol (dose and times), alpha, and alpha/beta ratio. |
required |