class_docstr: Proxy object for AFNI image array.
  
  Attributes
  ----------
  scaling : np.ndarray
      Scaling factor (one factor per volume/sub-brick) for data. Default is
      None
code: def _get_scaled(self, dtype, slicer):
      raw_data = self._get_unscaled(slicer=slicer)
      if self.scaling is None:
          if dtype is None:
              return raw_data
          final_type = np.promote_types(raw_data.dtype, dtype)
          return raw_data.astype(final_type, copy=False)
  
      # Broadcast scaling to shape of original data
      fake_data = strided_scalar(self._shape)
      _, scaling = np.broadcast_arrays(fake_data, self.scaling)
  
      final_type = np.result_type(raw_data, scaling)
      if dtype is not None:
          final_type = np.promote_types(final_type, dtype)
  
      # Slice scaling to give output shape
      return raw_data * scaling[slicer].astype(final_type)
  
imports: import os
  import re
  from copy import deepcopy
  import numpy
  from .arrayproxy import ArrayProxy
  from .fileslice import strided_scalar
  from .spatialimages import HeaderDataError, ImageDataError, SpatialHeader, SpatialImage
  from .volumeutils import Recoder
label_desc: Use image node_id 3 for calling the AFNIArrayProxy obj's underlying member method code with example usage: obj._get_scaled(dtype, slicer) and returns: unknown, raw_data, raw_data