parameters: (self)
docstring: Performs a single or simultaneous fit and returns the resulting function, status and chi squared.
docstring_summary: Performs a single or simultaneous fit and returns the resulting function, status and chi squared.
docstring_tokens: Performs a single or simultaneous fit and returns the resulting function status and chi squared .
function: def perform_fit(self) -> tuple:
          """Performs a single or simultaneous fit and returns the resulting function, status and chi squared."""
          if self.fitting_context.simultaneous_fitting_mode:
              parameters = self._get_parameters_for_simultaneous_fit(self.fitting_context.dataset_names,
                                                                     self.fitting_context.simultaneous_fit_function)
              return self._do_simultaneous_fit(parameters, self.fitting_context.global_parameters)
          else:
              return super().perform_fit()
function_tokens: def perform_fit ( self ) -> tuple : if self . fitting_context . simultaneous_fitting_mode : parameters = self . _get_parameters_for_simultaneous_fit ( self . fitting_context . dataset_names , self . fitting_context . simultaneous_fit_function ) return self . _do_simultaneous_fit ( parameters , self . fitting_context . global_parameters ) else : return super ( ) . perform_fit ( )