code: def enhance2dataset(dset):
      
      attrs = dset.attrs
      img = get_enhanced_image(dset)
      # Clip image data to interval [0.0, 1.0]
      data = img.data.clip(0.0, 1.0)
      data.attrs = attrs
  
      return data
docs: Apply enhancements to dataset *dset* and return the resulting data
      array of the image.