class_docstr: Class for basic Analyze format image
class_docstr_tok: ["Class","for","basic","Analyze","format","image"]
code: def __init__(
      self,
      dataobj,
      affine,
      header=None,
      extra=None,
      file_map=None,
      dtype=None,
  ):
      super().__init__(dataobj, affine, header, extra, file_map)
      # Reset consumable values
      self._header.set_data_offset(0)
      self._header.set_slope_inter(None, None)
  
      if dtype is not None:
          self.set_data_dtype(dtype)
  
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 1 to create a new AnalyzeImage object from inherited base classes: SpatialImage with example: obj = AnalyzeImage(dataobj, affine, header, extra, file_map, dtype)