class_docstr: PAR/REC header
class_docstr_tok: ["PAR\/REC","header"]
code: def from_fileobj(
      klass, fileobj, permit_truncated=False, strict_sort=False
  ):
      info, image_defs = parse_PAR_header(fileobj)
      return klass(info, image_defs, permit_truncated, strict_sort)
  
imports: import re
  import warnings
  from collections import OrderedDict
  from copy import deepcopy
  from io import StringIO
  from locale import getpreferredencoding
  import numpy
  from .affines import apply_affine, dot_reduce, from_matvec
  from .eulerangles import euler2mat
  from .fileslice import fileslice, strided_scalar
  from .nifti1 import unit_codes
  from .openers import ImageOpener
  from .spatialimages import SpatialHeader, SpatialImage
  from .volumeutils import Recoder, array_from_file
label_desc: Use image node_id 3 for calling the PARRECHeader obj's underlying member method code with example usage: obj.from_fileobj(klass, fileobj, permit_truncated, strict_sort) and returns: klass