class_docstr: Class for AFNI header
docstr: Returns volume labels
  
  Returns
  -------
  labels : list of str
      Labels for volumes along fourth dimension
  
  Examples
  --------
  >>> header = AFNIHeader(parse_AFNI_header(os.path.join(datadir, 'example4d+orig.HEAD')))
  >>> header.get_volume_labels()
  ['#0', '#1', '#2']
code: def get_volume_labels(self):
      """
      Returns volume labels
  
      Returns
      -------
      labels : list of str
          Labels for volumes along fourth dimension
  
      Examples
      --------
      >>> header = AFNIHeader(parse_AFNI_header(os.path.join(datadir, 'example4d+orig.HEAD')))
      >>> header.get_volume_labels()
      ['#0', '#1', '#2']
      """
      labels = self.info.get("BRICK_LABS", None)
      if labels is not None:
          labels = labels.split("~")
      return labels
  
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 12 for calling the AFNIHeader obj's underlying member method code with example usage: obj.get_volume_labels() and returns: labels