def integral(field, direction='xyz', improper=False):
    """Integral.

    This function calls ``integral`` method of the ``discrteisedfield.Field``
    object.

    For details, please refer to
    :py:func:`~discretisedfield.Field.integral`

    """
    return field.integral(direction=direction, improper=improper)