parameters: (self, is_added, name, notify=True)
docstring: Adds the Real (Re) or Imaginary (Im) part to the analysis if is_added is True, else removes it
docstring_summary: Adds the Real (Re) or Imaginary (Im) part to the analysis if is_added is True, else removes it
docstring_tokens: Adds the Real ( Re ) or Imaginary ( Im ) part to the analysis if is_added is True else removes it
function: def add_part_to_analysis(self, is_added, name, notify=True):
          """Adds the Real (Re) or Imaginary (Im) part to the analysis if is_added is True, else removes it"""
          if is_added:
              self.context.group_pair_context.add_pair_to_selected_pairs(name)
          else:
              self.context.group_pair_context.remove_pair_from_selected_pairs(name)
  
          # Notify a new phasequad is selected to update the plot
          if notify:
              group_info = {'is_added': is_added, 'name': name}
              self.selected_phasequad_changed_notifier.notify_subscribers(group_info)
function_tokens: def add_part_to_analysis ( self , is_added , name , notify = True ) : if is_added : self . context . group_pair_context . add_pair_to_selected_pairs ( name ) else : self . context . group_pair_context . remove_pair_from_selected_pairs ( name ) # Notify a new phasequad is selected to update the plot if notify : group_info = { 'is_added' : is_added , 'name' : name } self . selected_phasequad_changed_notifier . notify_subscribers ( group_info )