def _calc_feather_weighting(param_dict):
    """
    Calculate weightings to use for the feather task
    """
    weightings = param_dict['weightings']
    if not isinstance(weightings, (list, tuple)):
        return 1.0
    return float(weightings[1]) / float(weightings[0])
