code: def get_new_PCA_parameters(self, event):
          
  
          tmin = str(self.tmin_box.GetValue())
          tmax = str(self.tmax_box.GetValue())
          if tmin == "" or tmax == "":
              return
  
          if tmin in self.T_list and tmax in self.T_list and \
             (self.T_list.index(tmax) <= self.T_list.index(tmin)):
              return
  
          PCA_type = self.PCA_type_box.GetValue()
          if PCA_type == "line":
              calculation_type = "DE-BFL"
          elif PCA_type == "line-anchored":
              calculation_type = "DE-BFL-A"
          elif PCA_type == "line-with-origin":
              calculation_type = "DE-BFL-O"
          elif PCA_type == "Fisher":
              calculation_type = "DE-FM"
          elif PCA_type == "plane":
              calculation_type = "DE-BFP"
          coordinate_system = self.COORDINATE_SYSTEM
          if self.current_fit:
              self.current_fit.put(self.s, coordinate_system, self.get_PCA_parameters(
                  self.s, self.current_fit, tmin, tmax, coordinate_system, calculation_type))
          if self.ie_open:
              self.ie.update_current_fit_data()
          self.update_GUI_with_new_interpretation()
docs: calculate statistics when temperatures are selected
          or PCA type is changed