def _set_global_detection_thresh(params, name: str, index: int, value: float):
    """Adjust the Parameters.global_detection_thresh parameter"""
    if index is not None:
        raise IndexError(
            'You cannot index the global_detection_thresh parameter')
    params.global_detection_thresh = value
