class_docstr: Class for NIfTI2 header
  
  NIfTI2 is a slightly simplified variant of NIfTI1 which replaces 32-bit
  floats with 64-bit floats, and increases some integer widths to 32 or 64
  bits.
class_docstr_tok: ["Class","for","NIfTI2","header","NIfTI2","is","a","slightly","simplified","variant","of","NIfTI1","which","replaces","32-bit","floats","with","64-bit","floats",",","and","increases","some","integer","widths","to","32","or","64","bits","."]
code: def _chk_eol_check(hdr, fix=False):
      rep = Report(HeaderDataError)
      if np.all(hdr["eol_check"] == (13, 10, 26, 10)):
          return hdr, rep
      if np.all(hdr["eol_check"] == 0):
          rep.problem_level = 20
          rep.problem_msg = "EOL check all 0"
          if fix:
              hdr["eol_check"] = (13, 10, 26, 10)
              rep.fix_msg = "setting EOL check to 13, 10, 26, 10"
          return hdr, rep
      rep.problem_level = 40
      rep.problem_msg = "EOL check not 0 or 13, 10, 26, 10; data may be corrupted by EOL conversion"
      if fix:
          hdr["eol_check"] = (13, 10, 26, 10)
          rep.fix_msg = "setting EOL check to 13, 10, 26, 10"
      return hdr, rep
  
imports: import numpy
  from .analyze import AnalyzeHeader
  from .batteryrunners import Report
  from .filebasedimages import ImageFileError
  from .nifti1 import Nifti1Header, Nifti1Image, Nifti1Pair
  from .spatialimages import HeaderDataError
label_desc: Use image node_id 5 for calling the Nifti2Header obj's underlying member method code with example usage: obj._chk_eol_check(hdr, fix) and returns: hdr,  rep, hdr,  rep, hdr,  rep