Prelayer

class radcomp.Prelayer(trans_rate: float, branching_fracs: ndarray, activity_funcs: list[collections.abc.Callable[[T], T]], name: str = 'prelayer')

Bases: object

Input time-activity curves for a nuclide that is able to transition to one or more layers in a model.

Parameters:
  • trans_rate (float) – Transition rate (h-1) for nuclide in prelayer.

  • branching_fracs (numpy.ndarray) – Branching fractions (0 to 1). Shape (num_layers,). Element i is for prelayer to layer i in model.

  • activity_funcs (list[Callable[[T], T]]) – Prelayer activity (MBq) as a function of time (h) for each compartment in model. Length num_compartments. Element i is the function for compartment i.

  • name (str) – Name for prelayer nuclide. Defaults to “prelayer”.

activity_funcs: list[collections.abc.Callable[[T], T]]
branching_fracs: ndarray
name: str = 'prelayer'
nuclei_funcs() list[collections.abc.Callable[[T], T]]

Time-nuclei curves.

Returns:

Number of prelayer nuclei as a function of time (h) for each compartment in model. Length num_compartments. Element at index i is the function for compartment i.

Return type:

list[Callable[[T], T]]

trans_rate: float