generate_sequential_spectral_decay_model

glotaran.project.generators.generator.generate_sequential_spectral_decay_model(*, nr_compartments: int = 1, irf: bool = False) dict[str, Any][source]

Generate a sequential spectral decay model dictionary.

Parameters:
  • nr_compartments (int) – The number of compartments.

  • irf (bool) – Whether to add a gaussian irf.

Returns:

The generated model dictionary.

Return type:

dict[str, Any]