_generate_decay_model
- _generate_decay_model(*, nr_compartments: int, irf: bool, spectral: bool, decay_type: str) dict[str, Any][source]
Generate a decay model dictionary.
- Parameters:
nr_compartments (int) – The number of compartments.
irf (bool) – Whether to add a gaussian irf.
spectral (bool) – Whether to add a spectral model.
decay_type (str) – The type of the decay
- Returns:
The generated model dictionary.
- Return type:
dict[str, Any]