     )
     
   setBand: (band) =>
-    console.log 'setBand'
     if band is 'gri'
       fn = 'drawColor'
     else
-      fn = 'drawGrayscale'
-
+      fn = 'draw'
+      
       # Compute the min/max of the image set
       unless @collection.hasExtent
         @collection.hasExtent = true


  # Normalize scales for color bands
  computeNormalizedScales: =>
    gri = @collection.getColorLayers()
    
    sum = gri.reduce( (memo, value) ->
      return memo + value.get('scale')
    , 0)
    avg = sum / 3
    
    _.each(gri, (d) =>
      band = d.get('band')
      
      # Compute and set normalized scale

  constructor: (selector) ->
    super selector
    
    @stretch = 'linear'
    
    # Run when the WebFITS API is received
    @on 'swviewer:ready', =>
      # NOTE: Dimensions and global extent are hard coded
      el = document.querySelector(@selector)
