parameters: (self)
return_statement: return True
docstring: Check that a rebin was indeed requested in the fitting tab or in the context.
docstring_summary: Check that a rebin was indeed requested in the fitting tab or in the context.
docstring_tokens: Check that a rebin was indeed requested in the fitting tab or in the context .
function: def _check_rebin_options(self) -> bool:
          """Check that a rebin was indeed requested in the fitting tab or in the context."""
          if not self.view.fit_to_raw and not self.model.do_rebin:
              self.view.fit_to_raw = True
              self.view.warning_popup("No rebin options specified.")
              return False
          return True
function_tokens: def _check_rebin_options ( self ) -> bool : if not self . view . fit_to_raw and not self . model . do_rebin : self . view . fit_to_raw = True self . view . warning_popup ( "No rebin options specified." ) return False return True