def METHOD_NAME(
    *, nr_compartments: int = 1, irf: bool = False
) -> dict[str, Any]:
    """Generate a sequential spectral decay model dictionary.
    Parameters
    ----------
    nr_compartments : int
        The number of compartments.
    irf : bool
        Whether to add a gaussian irf.
    Returns
    -------
    dict[str, Any] :
        The generated model dictionary.
    """
    return _generate_decay_model(
        nr_compartments=nr_compartments, irf=irf, spectral=True, decay_type="sequential"
    )