code: def FitsReaderPipeline(
      path,
      device="cpu",
      file_list=None,
      files=None,
      file_filter="*.fits",
      hdu_indices=[2],
      dtype=None,
  ):
      data = fn.experimental.readers.fits(
          device=device,
          file_list=file_list,
          files=files,
          file_root=path,
          file_filter=file_filter,
          shard_id=0,
          num_shards=1,
          hdu_indices=hdu_indices,
      )
  
      return tuple(data) if type(data) is list else data
  
imports: import itertools
  import os
  import sys
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  from astropy.io import fits
  import numpy
  import tempfile
  import random
  from nose2.tools import params
  from test_utils import to_array, get_dali_extra_path
  from numpy.testing import assert_array_equal
label_desc: Use image node_id 3 for calling a global function with example usage: FitsReaderPipeline(path, device, file_list, files, file_filter, hdu_indices, dtype) and returns: unknown