class_docstr: DicomSeries
  This class represents a serie of dicom files (SimpleDicomReader
  objects) that belong together. If these are multiple files, they
  represent the slices of a volume (like for CT or MRI).
class_docstr_tok: ["DicomSeries","This","class","represents","a","serie","of","dicom","files","(","SimpleDicomReader","objects",")","that","belong","together",".","If","these","are","multiple","files",",","they","represent","the","slices","of","a","volume","(","like","for","CT","or","MRI",")","."]
docstr: A description of the dicom series. Used fields are
  PatientName, shape of the data, SeriesDescription, and
  ImageComments.
docstr_tok: ["A","description","of","the","dicom","series",".","Used","fields","are","PatientName",",","shape","of","the","data",",","SeriesDescription",",","and","ImageComments","."]
code: def description(self):
      """A description of the dicom series. Used fields are
      PatientName, shape of the data, SeriesDescription, and
      ImageComments.
      """
      info = self.info
  
      # If no info available, return simple description
      if not info:  # pragma: no cover
          return "DicomSeries containing %i images" % len(self)
  
      fields = []
      # Give patient name
      if "PatientName" in info:
          fields.append("" + info["PatientName"])
      # Also add dimensions
      if self.shape:
          tmp = [str(d) for d in self.shape]
          fields.append("x".join(tmp))
      # Try adding more fields
      if "SeriesDescription" in info:
          fields.append("'" + info["SeriesDescription"] + "'")
      if "ImageComments" in info:
          fields.append("'" + info["ImageComments"] + "'")
  
      # Combine
      return " ".join(fields)
  
imports: import sys
  import os
  import struct
  import logging
  import numpy
label_desc: Use image node_id 9 for calling the DicomSeries obj's underlying member method code with example usage: obj.description() and returns: str, unknown