class_docstr: Control the creation and navigation of an hSNE manifold model
  using appropriate visualization and interaction GUIs depending on the data.
  This controller assumes that selections are hierarchical and that each
  selection produces a new GUI for viewing and further selection.
docstr: Handle 2.) AnalysisEvent.ADDED
  Callback to start a sub analysis in the analysis model
docstr_tok: ["Handle","2",".",")","AnalysisEvent.ADDED","Callback","to","start","a","sub","analysis","in","the","analysis","model"]
code: def add_analysis(self, analysis, selected_indexes):
      """Handle 2.) AnalysisEvent.ADDED
      Callback to start a sub analysis in the analysis model"""
      print("Drilling down to new analysis")
      new_analysis = self.analysis_model.add_new_analysis(
          analysis, selected_indexes
      )
      print("Updated analysis hierarchy: ")
      print(self.analysis_model.analysis_container)
      print("Starting analysis GUI")
  
      analysis_gui = AnalysisController(
          self.model_gui.demo_type,
          self.add_analysis,
          self.remove_analysis,
          self.analysis_stopped,
      )
  
      if self.model_gui.demo_type is DemoType.POINT_DEMO:
          analysis_gui.set_metapath(self.labelcolor_filename)
  
      analysis_gui.start_embedding(
          self.data,
          new_analysis,
          self.model_gui.iterations,
          self.im_size,
          False,
          self.labels,
          self.color_norm,
      )
      self.analysis_guis[new_analysis.id] = analysis_gui
      self.queue_new_analysis(new_analysis)
  
imports: from pathlib import Path
  import queue
  import sys
  from matplotlib import colors
  import nptsne
  from nptsne import hsne_analysis
  import numpy
  from PyQt5.QtWidgets import QApplication
  from AnalysisController import AnalysisController
  from ModelGui import ModelGui, AnalysisEvent, DemoType
label_desc: Use image node_id 5 for calling the ModelController obj's underlying member method code with example usage: obj.add_analysis(analysis, selected_indexes) without return types