def __get_inferred_data_res_2(v=None, calc=True):
    """
    Use a list of values to calculate m/m/m/m. Resolution values or otherwise.
    :param numpy array v: Values
    :param bool calc: If false, we don't need calculations
    :return dict:  Results of calculation
    """
    # Base: If something goes wrong, or if there are no values, then use "NaN" placeholders.
    d = {
        "hasMinValue": "nan", "hasMaxValue": "nan",
        "hasMeanValue": "nan", "hasMedianValue": "nan",
    }
    try:
        if calc:
            _min = np.nanmin(v)
            _max = np.nanmax(v)
            _mean = np.nanmean(v)
            _med = np.nanmedian(v)

            if np.isnan(_min):
                _min = "nan"
            else:
                _min = abs(_min)
            if np.isnan(_max):
                _max = "nan"
            else:
                _min = abs(_min)
            if np.isnan(_mean):
                _mean = "nan"
            else:
                _min = abs(_min)
            if np.isnan(_med):
                _med = "nan"
            else:
                _min = abs(_min)

            d = {
                "hasMinValue": _min,
                "hasMaxValue": _max,
                "hasMeanValue": _mean,
                "hasMedianValue": _med
            }
    except Exception as e:
        logger_inferred_data.error("get_inferred_data_res_2: {}".format(e))

    return d