class_docstr: Class for basic analyze header
  
  Implements zoom-only setting of affine transform, and no image
  scaling
class_docstr_tok: ["Class","for","basic","analyze","header","Implements","zoom-only","setting","of","affine","transform",",","and","no","image","scaling"]
docstr: Return header data for empty header with given endianness
docstr_tok: ["Return","header","data","for","empty","header","with","given","endianness"]
code: def default_structarr(klass, endianness=None):
      """Return header data for empty header with given endianness"""
      hdr_data = super().default_structarr(endianness)
      hdr_data["sizeof_hdr"] = klass.sizeof_hdr
      hdr_data["dim"] = 1
      hdr_data["dim"][0] = 0
      hdr_data["pixdim"] = 1
      hdr_data["datatype"] = 16  # float32
      hdr_data["bitpix"] = 32
      return hdr_data
  
imports: from __future__ import annotations
  import numpy
  from .arrayproxy import ArrayProxy
  from .arraywriters import ArrayWriter, WriterError, get_slope_inter, make_array_writer
  from .batteryrunners import Report
  from .fileholders import copy_file_map
  from .spatialimages import HeaderDataError, HeaderTypeError, SpatialHeader, SpatialImage
  from .volumeutils import apply_read_scaling, array_from_file, make_dt_codes, native_code, seek_tell, shape_zoom_affine, swapped_code
  from .wrapstruct import LabeledWrapStruct
label_desc: Use image node_id 3 for calling the AnalyzeHeader obj's underlying member method code with example usage: obj.default_structarr(klass, endianness) and returns: hdr_data