pyanno4rt.optimization.projections._dose_projection

Dose projection.

Overview

Classes

DoseProjection

Dose projection class.

Classes

class pyanno4rt.optimization.projections._dose_projection.DoseProjection[source]

Bases: pyanno4rt.optimization.projections.BackProjection

Dose projection class.

This class provides an implementation of the abstract forward and backward projection methods in Backprojection by a linear function with a neutral RBE value of 1.0.

Overview

Methods

compute_dose_result(fluence)

Compute the dose projection from the fluence vector.

compute_fluence_gradient_result(dose_gradient)

Compute the fluence gradient projection from the dose gradient.

Members

compute_dose_result(fluence)[source]

Compute the dose projection from the fluence vector.

Parameters:

fluence (ndarray) – Values of the fluence vector.

Returns:

Values of the dose vector.

Return type:

ndarray

compute_fluence_gradient_result(dose_gradient)[source]

Compute the fluence gradient projection from the dose gradient.

Parameters:

dose_gradient (ndarray) – Values of the dose gradient.

Returns:

Values of the fluence gradient.

Return type:

ndarray