def normalize_cutoff(model, zero_cutoff=None):
    """Return a valid zero cutoff value."""
    if zero_cutoff is None:
        return model.tolerance
    elif zero_cutoff < model.tolerance:
        raise ValueError(
            "The chosen zero cutoff cannot be less than the model's tolerance value."
            )
    else:
        return zero_cutoff
