def _less_or_close(a, value, **kwargs):
    'Compare values for less or close to boolean masks.\n\n    Returns a boolean mask for values less than or equal to a target within a specified\n    absolute or relative tolerance (as in :func:`numpy.isclose`).\n\n    Parameters\n    ----------\n    a : array-like\n        Array of values to be compared\n    value : float\n        Comparison value\n\n    Returns\n    -------\n    array-like\n        Boolean array where values are less than or nearly equal to value.\n\n    '
    return ((a < value) | np.isclose(a, value, **kwargs))
Compare values for less or close to boolean masks.

Returns a boolean mask for values less than or equal to a target within a specified
absolute or relative tolerance (as in :func:`numpy.isclose`).

Parameters
----------
a : array-like
    Array of values to be compared
value : float
    Comparison value

Returns
-------
array-like
    Boolean array where values are less than or nearly equal to value.
def _less_or_close(a, value, **kwargs):
    'Compare values for less or close to boolean masks.\n\n    Returns a boolean mask for values less than or equal to a target within a specified\n    absolute or relative tolerance (as in :func:`numpy.isclose`).\n\n    Parameters\n    ----------\n    a : array-like\n        Array of values to be compared\n    value : float\n        Comparison value\n\n    Returns\n    -------\n    array-like\n        Boolean array where values are less than or nearly equal to value.\n\n    '
    return ((a < value) | np.isclose(a, value, **kwargs))