class_docstr: Importer for DICOM datasets datasets stored on disk.
  
  See :ref:`this page <DICOMDataset-import>` for format details.
  
  Args:
      dataset_dir (None): the dataset directory. If omitted, ``dicom_path``
          must be provided
      dicom_path (None): an optional parameter that enables explicit control
          over the location of the DICOM files. Can be any of the following:
  
          -   a glob pattern like ``"*.dcm"`` specifying the location of the
              DICOM files in ``dataset_dir``
          -   the name of a DICOMDIR file in ``dataset_dir``
          -   an absolute glob pattern of DICOM files or the absolute path to
              a DICOMDIR file. In this case, ``dataset_dir`` has no effect
  
          If None, the parameter will default to ``*.dcm``
      images_dir (None): the directory in which the images will be written.
          If not provided, the images will be unpacked into ``dataset_dir``
      keywords (None): an optional keyword or list of keywords from
          :meth:`pydicom:pydicom.dataset.Dataset.dir` to load from the DICOM
          files. By default, all available fields are loaded
      parsers (None): an optional dict mapping keywords to functions that
          parse the values generated by
          :meth:`pydicom:pydicom.dataset.Dataset.get` for certain fields. By
          default, all fields are converted to primitive values, if possible
      image_format (None): the image format to use to write the images to
          disk. By default, ``fiftyone.config.default_image_ext`` is used
      shuffle (False): whether to randomly shuffle the order in which the
          samples are imported
      seed (None): a random seed to use when shuffling
      max_samples (None): a maximum number of samples to import. By default,
          all samples are imported
class_docstr_tok: ["Importer","for","DICOM","datasets","datasets","stored","on","disk",".","See",":","ref",":","`","this","page","<","DICOMDataset-import",">","`","for","format","details",".","Args",":","dataset_dir","(","None",")",":","the","dataset","directory",".","If","omitted",",","``","dicom_path","``","must","be","provided","dicom_path","(","None",")",":","an","optional","parameter","that","enables","explicit","control","over","the","location","of","the","DICOM","files",".","Can","be","any","of","the","following",":","-","a","glob","pattern","like","``","``","*",".dcm","''","``","specifying","the","location","of","the","DICOM","files","in","``","dataset_dir","``","-","the","name","of","a","DICOMDIR","file","in","``","dataset_dir","``","-","an","absolute","glob","pattern","of","DICOM","files","or","the","absolute","path","to","a","DICOMDIR","file",".","In","this","case",",","``","dataset_dir","``","has","no","effect","If","None",",","the","parameter","will","default","to","``","*",".dcm","``","images_dir","(","None",")",":","the","directory","in","which","the","images","will","be","written",".","If","not","provided",",","the","images","will","be","unpacked","into","``","dataset_dir","``","keywords","(","None",")",":","an","optional","keyword","or","list","of","keywords","from",":","meth",":","`","pydicom",":","pydicom.dataset.Dataset.dir","`","to","load","from","the","DICOM","files",".","By","default",",","all","available","fields","are","loaded","parsers","(","None",")",":","an","optional","dict","mapping","keywords","to","functions","that","parse","the","values","generated","by",":","meth",":","`","pydicom",":","pydicom.dataset.Dataset.get","`","for","certain","fields",".","By","default",",","all","fields","are","converted","to","primitive","values",",","if","possible","image_format","(","None",")",":","the","image","format","to","use","to","write","the","images","to","disk",".","By","default",",","``","fiftyone.config.default_image_ext","``","is","used","shuffle","(","False",")",":","whether","to","randomly","shuffle","the","order","in","which","the","samples","are","imported","seed","(","None",")",":","a","random","seed","to","use","when","shuffling","max_samples","(","None",")",":","a","maximum","number","of","samples","to","import",".","By","default",",","all","samples","are","imported"]
code: def has_image_metadata(self):
      return self._sample_parser.has_image_metadata
  
imports: import logging
  import os
  import warnings
  import numpy
  import eta.core.utils
  import fiftyone.core.utils
  import fiftyone.utils.data
  import pydicom
  from pydicom.fileset import FileInstance, FileSet
label_desc: Use image node_id 7 for calling the DICOMDatasetImporter obj's underlying member method code with example usage: obj.has_image_metadata() and returns: self