docs: def select_bounds_in_logger(self, index):
          """
          sets index as the upper or lower bound of a fit based on what the
          other bound is and selects it in the logger. Requires 2 calls to
          completely update a interpretation. NOTE: Requires an interpretation
          to exist before it is called.
  
          Parameters
          ----------
          index : index of the step to select in the logger
          """
          tmin_index, tmax_index = "", ""
          if str(self.tmin_box.GetValue()) != "":
              tmin_index = self.tmin_box.GetSelection()
          if str(self.tmax_box.GetValue()) != "":
              tmax_index = self.tmax_box.GetSelection()
  
          if self.list_bound_loc != 0:
              if self.list_bound_loc == 1:
                  if index < tmin_index:
                      self.tmin_box.SetSelection(index)
                      self.tmax_box.SetSelection(tmin_index)
                  elif index == tmin_index:
                      pass
                  else:
                      self.tmax_box.SetSelection(index)
              else:
                  if index > tmax_index:
                      self.tmin_box.SetSelection(tmax_index)
                      self.tmax_box.SetSelection(index)
                  elif index == tmax_index:
                      pass
                  else:
                      self.tmin_box.SetSelection(index)
              self.list_bound_loc = 0
          else:
              if index < tmax_index:
                  self.tmin_box.SetSelection(index)
                  self.list_bound_loc = 1
              else:
                  self.tmax_box.SetSelection(index)
                  self.list_bound_loc = 2
  
  #        if tmin_index=="" or index<tmin_index:
  #            if tmax_index=="" and tmin_index!="":
  #                self.tmax_box.SetSelection(tmin_index)
  #            self.tmin_box.SetSelection(index)
  #        elif tmax_index=="" or index>tmax_index:
  #            self.tmax_box.SetSelection(index)
  #        else:
  #            self.tmin_box.SetSelection(index)
  #            self.tmax_box.SetValue("")
  
          self.logger.Select(index, on=0)
          self.get_new_PCA_parameters(-1)