class_docstr: Class for MGH format header
  
  The header also consists of the footer data which MGH places after the data
  chunk.
class_docstr_tok: ["Class","for","MGH","format","header","The","header","also","consists","of","the","footer","data","which","MGH","places","after","the","data","chunk","."]
docstr: Return header data for empty header
  
  Ignores byte order; always big endian
docstr_tok: ["Return","header","data","for","empty","header","Ignores","byte","order",";","always","big","endian"]
code: def default_structarr(klass, endianness=None):
      """Return header data for empty header
  
      Ignores byte order; always big endian
      """
      if endianness is not None and endian_codes[endianness] != ">":
          raise ValueError("MGHHeader must always be big endian")
      structarr = super().default_structarr(endianness=endianness)
      structarr["version"] = 1
      structarr["dims"] = 1
      structarr["type"] = 3
      structarr["goodRASFlag"] = 1
      structarr["delta"] = 1
      structarr["Mdc"] = [[-1, 0, 0], [0, 0, 1], [0, -1, 0]]
      return structarr
  
imports: from os.path import splitext
  import numpy
  from ..affines import from_matvec, voxel_sizes
  from ..arrayproxy import ArrayProxy, reshape_dataobj
  from ..batteryrunners import BatteryRunner, Report
  from ..filebasedimages import SerializableImage
  from ..fileholders import FileHolder
  from ..filename_parser import _stringify_path
  from ..openers import ImageOpener
  from ..spatialimages import HeaderDataError, SpatialHeader, SpatialImage
  from ..volumeutils import Recoder, array_from_file, array_to_file, endian_codes
  from ..wrapstruct import LabeledWrapStruct
label_desc: Use image node_id 24 for calling the MGHHeader obj's underlying member method code with example usage: obj.default_structarr(klass, endianness) and returns: structarr