class_docstr: Apply LightSource filter
class_docstr_tok: ["Apply","LightSource","filter"]
docstr: Parameters
  ----------
  sigma : float
      sigma for gaussian filter
  fraction: number, default: 1
      Increases or decreases the contrast of the hillshade.
      See `matplotlib.colors.LightSource`
code: def __init__(self, sigma, fraction=1):
      """
      Parameters
      ----------
      sigma : float
          sigma for gaussian filter
      fraction: number, default: 1
          Increases or decreases the contrast of the hillshade.
          See `matplotlib.colors.LightSource`
  
      """
      self.gauss_filter = GaussianFilter(sigma, alpha=1)
      self.light_source = LightSource()
      self.fraction = fraction
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.artist import Artist
  import matplotlib.cm
  from matplotlib.colors import LightSource
  import matplotlib.transforms
label_desc: Use image node_id 1 to create a new LightFilter object from inherited base classes: BaseFilter with example: obj = LightFilter(sigma, fraction)