#TODO: docstring

    :param array: #TODO: docstring
    :param posL: #TODO: docstring
    :param posR: #TODO: docstring
    :param matchMask: #TODO: docstring

    :returns: ``numpy.array``, a subset of the input ``array``.

def applyArrayFilters(array, posL, posR, matchMask):
    """#TODO: docstring

    :param array: #TODO: docstring
    :param posL: #TODO: docstring
    :param posR: #TODO: docstring
    :param matchMask: #TODO: docstring

    :returns: ``numpy.array``, a subset of the input ``array``.
    """
    return numpy.compress(matchMask, array[posL:posR], axis=0)