def get_header(img):
    """
    Gets the header of a NIFTI image

    Attributes
    ----------

    :param img: NIFTI image
    :type img: Image
    :return: Image header
    :rtype: nibabel.nifti1.Nifti1Header"""
    return img.header