def METHOD_NAME(a, axis=None, abs_deviation=None, mask=None):
    if abs_deviation is None:
        abs_deviation = absolute_deviation(a, axis=axis, mask=mask)
    return median(abs_deviation, axis=axis, mask=mask)