code: def soft_light(top, bottom, maxval):
      """Apply soft light.
  
      http://www.pegtop.net/delphi/articles/blendmodes/softlight.htm
      """
      a = top / maxval
      b = bottom / maxval
      return (2 * a * b + a * a * (1 - 2 * b)) * maxval
  
imports: import logging
  import numpy
  from satpy.composites import GenericCompositor
  from satpy.dataset import combine_metadata
label_desc: Use image node_id 2 for calling a global function with example usage: soft_light(top, bottom, maxval) and returns: unknown