     )
   
   getNextSubject: =>
-    console.log 'getNextSubject'
-    
     @requestChannels()
   
   # Request FITS files for each channel

  
  # Initialize a WebFITS object
  initWebFITS: =>
    @wfits.teardown() if @wfits?
    
    @wfits = new astro.WebFITS(@el, @dimension)

    unless @wfits.ctx?
      alert 'Something went wrong initializing the context'
  
  # Call when all FITS received and WebFITS library is received
  allChannelsReceived: (e) =>

    
    @wfits.setCalibrations(1, 1, 1)
    @wfits.setScales.apply(@wfits, @defaultScales)
    @wfits.setAlpha(@opts.alpha or @defaultAlpha)
    @wfits.setQ(@opts.q or @defaultQ)
    
    # Enable mouse controls
    @wfits.setupControls({
      onmousemove: (e) =>
        @settings({
          xOffset: @wfits.getXOffset()
          yOffset: @wfits.getYOffset()
        })
    })
    
    # Default to color composite
    @wfits.drawColor('i', 'r', 'g')
  
  start: =>
    console.log 'start'
