|
Mantid
|
#include <MuonFitPropertyBrowser.h>
Public Slots | |
| void | addPeriodCheckboxToMap (const QString &name) |
| void | combineBtnPressed () |
| void | executeFitMenu (const QString &item) override |
| void | fit () override |
| Perform the fit algorithm. | |
| void | generateBtnPressed () |
| void | groupBtnPressed () |
| void | periodBtnPressed () |
| void | sequentialFit () override |
| Open sequential fit dialog. | |
| void | setNumPeriods (size_t numPeriods) |
| void | updatePeriods () |
Public Slots inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| virtual void | clear () |
| Slot. | |
| void | clearBrowser () |
| void | executeClearCustomSetups () |
| void | executeCustomSetupRemove (const QString &name) |
| void | executeDisplayMenu (const QString &) |
| virtual void | executeFitMenu (const QString &) |
| void | executePeakFindingAlgMenu (const QString &) |
| void | executeSetupManageMenu (const QString &) |
| void | executeSetupMenu (const QString &) |
| virtual void | fit () |
| Do the fit. | |
| virtual void | removePropertiesFromSettingsBrowser (const QStringList &propsToRemove) |
| Function to toggle the visibility of a settings group property exposed to python. | |
| virtual void | sequentialFit () |
| void | setPeakToolOn (bool on) |
| virtual void | toggleSettingsBrowserVisible () |
| Function to toggle the visibility of the settings browser. | |
| virtual void | toggleWsListVisible () |
| void | undoFit () |
| Slot. | |
| void | workspaceDoubleClicked (QListWidgetItem *item) |
Signals | |
| void | fitRawDataClicked (bool enabled) override |
| Emitted when "fit to raw data" is changed. | |
| void | functionUpdateAndFitRequested (bool sequential) override |
| Emitted when a fit or sequential fit is requested. | |
| void | functionUpdateRequested () override |
| Emitted when function should be updated. | |
| void | groupBoxClicked () |
| void | periodBoxClicked () |
| void | preFitChecksRequested (bool sequential) override |
| Emitted when fit is about to be run. | |
| void | reselctGroupClicked (bool enabled) |
| void | sequentialFitRequested () |
| Emitted when sequential fit is requested by user. | |
| void | TFPlot (QString wsName) |
| void | userChangedDatasetIndex (int index) override |
| Emitted when dataset index to fit is changed. | |
| void | workspacesToFitChanged (int n) override |
| Emitted when number of workspaces to fit is changed. | |
Signals inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| void | algorithmFailed () |
| void | algorithmFinished (const QString &) |
| void | algorithmStarted (const QString &) |
| void | changedParameterOf (const QString &prefix) |
| void | changeWindowTitle (const QString &) |
| void | currentChanged () const |
| void | endXChanged (double) |
| void | errorsEnabled (bool enabled) |
| void | executeFit (QString, QHash< QString, QString >, Mantid::API::AlgorithmObserver *) |
| void | fitResultsChanged (const QString &status) |
| void | fittingDone (const QString &) |
| signal which can optionally be caught for customization after a fit has been done | |
| void | fitUndone () |
| void | functionChanged () |
| void | functionCleared () |
| void | functionFactoryUpdateReceived () |
| void | functionLoaded (const QString &) |
| void | functionRemoved () |
| void | itemDoubleClicked (QListWidgetItem *item) |
| void | multifitFinished () |
| void | parameterChanged (const Mantid::API::IFunction *) |
| void | plotCurrentGuess () |
| void | plotGuess () |
| void | removeCurrentGuess () |
| void | removeFitCurves () |
| void | removeGuess () |
| void | removePlotSignal (MantidQt::MantidWidgets::PropertyHandler *) |
| void | sequentialFitDone () const |
| void | startXChanged (double) |
| void | updatePlotSpectrum (int index) |
| void | workspaceClicked (const QString &wsName) |
| void | workspaceIndexChanged (int index) |
| void | workspaceNameChanged (const QString &) |
| void | wsChangePPAssign (const QString &) |
| void | xRangeChanged (double, double) |
Signals inherited from MantidQt::MantidWidgets::IMuonFitFunctionModel | |
| virtual void | fitRawDataClicked (bool enabled)=0 |
| virtual void | functionUpdateAndFitRequested (bool sequential)=0 |
| virtual void | functionUpdateRequested ()=0 |
| virtual void | userChangedDatasetIndex (int index)=0 |
Signals inherited from MantidQt::MantidWidgets::IMuonFitDataModel | |
| virtual void | preFitChecksRequested (bool sequential)=0 |
Public Member Functions | |
| void | addExtraWidget (QWidget *widget) |
| Add an extra widget into the browser. | |
| void | addFitBrowserWidget (QWidget *widget, MantidQt::MantidWidgets::FunctionBrowser *functionBrowser) |
| void | checkFitEnabled () |
| void | clearChosenGroups () const |
| Clear list of selected groups. | |
| void | clearChosenPeriods () const |
| void | continueAfterChecks (bool sequential) override |
| After fit checks done, continue. | |
| void | doPlotGuess () override |
| Plot a guess function. | |
| void | doRemoveGuess () override |
| Remove a plotted guess. | |
| void | doTFAsymmFit () |
| void | finishHandle (const Mantid::API::IAlgorithm *alg) override |
| Called when the fit is finished. | |
| void | finishHandleNormal (const Mantid::API::IAlgorithm *alg) |
| void | finishHandleTF (const Mantid::API::IAlgorithm *alg) |
| QStringList | getChosenGroups () const |
| QStringList | getChosenPeriods () const |
| Mantid::API::IFunction_sptr | getFunction () const override |
| Get the fitting function. | |
| std::vector< std::string > | getWorkspaceNamesToFit () const override |
| Get names of workspaces that are set to be fitted. | |
| bool | hasGuess () const override |
| Whether a guess is plotted or not. | |
| void | init () override |
| Initialise the layout. | |
| bool | isMultiFittingMode () const override |
| returns true if the browser is set to multi fitting mode | |
| MuonFitPropertyBrowser (QWidget *parent=nullptr, QObject *mantidui=nullptr) | |
| Constructor. | |
| std::string | outputName () const override |
| Get output name. | |
| void | runFit () override |
| Run a non-sequential fit. | |
| void | runSequentialFit () override |
| Run a sequential fit. | |
| void | setAllGroups () |
| void | setAllGroupsOrPairs (const bool isItGroup) |
| void | setAllPairs () |
| void | setAllPeriods () |
| void | setAvailableGroups (const QStringList &groups) |
| void | setAvailablePeriods (const QStringList &periods) |
| void | setChosenGroup (const QString &group) |
| void | setChosenPeriods (const QString &period) |
| virtual void | setFitEnabled (bool yes) override |
| Enable/disable the Fit button;. | |
| void | setFunction (const Mantid::API::IFunction_sptr func) override |
| Set function externally. | |
| void | setGroupNames (const std::vector< std::string > groupNames) |
| void | setMultiFittingMode (bool enabled) override |
| Set multiple fitting mode on or off. | |
| void | setNormalization (const std::string &name) |
| void | setSimultaneousLabel (const std::string &label) override |
| Set label for simultaneous fit results. | |
| void | setSingleFitLabel (const std::string &name) |
| void | setTFAsymm (bool state) |
| void | setWorkspaceName (const QString &wsName) override |
| Set the input workspace name. | |
| void | setWorkspaceNames (const QStringList &wsNames) override |
| Set list of workspaces to fit. | |
| void | userChangedDataset (int index) override |
| User changed dataset index to fit. | |
Public Member Functions inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| void | addAllowedSpectra (const QString &wsName, const QList< int > &wsIndices) |
| void | addAllowedTableWorkspace (const QString &wsName) |
| void | addAutoBackground () |
| Creates and adds the autobackground. | |
| void | addFitResultWorkspacesToTableWidget () |
| Adds the fit result workspaces to the QListWidget in the browser. | |
| QString | addFunction (const QString &fnName) |
| A specialisation of addFunction to be used in the workbench. | |
| PropertyHandler * | addFunction (const std::string &fnName) |
| Create a new function. | |
| void | addHandle (const std::string &wsName, const std::shared_ptr< Mantid::API::Workspace > &ws) override |
| workspace was added | |
| void | allowSequentialFits (bool allow) override |
| Allow or disallow sequential fits (depending on whether other conditions are met) | |
| double | centre () const |
| Centre of the current peak. | |
| std::shared_ptr< Mantid::API::CompositeFunction > | compositeFunction () const |
| Get Composite Function. | |
| bool | convolveMembers () const |
| Get the "ConvolveMembers" option. | |
| std::string | costFunction () const |
| Get the cost function. | |
| int | count () const |
| Get count. | |
| bool | createAndAddFunction (const Mantid::API::MatrixWorkspace_sptr inputWS, const size_t peakIndex, const std::unique_ptr< FindPeakStrategyGeneric > &findPeakStrategy) |
| void | createCompositeFunction (const QString &str="") |
| Create CompositeFunction from string. | |
| PropertyHandler * | currentHandler () const |
| Get the current function. | |
| const std::string & | defaultBackgroundType () const |
| Get the default background type. | |
| const std::string & | defaultFunctionType () const |
| Get the default function type. | |
| std::string | defaultPeakType () |
| Get the default peak type. | |
| double | endX () const |
| Get the end X. | |
| void | findPeaks (const std::unique_ptr< FindPeakStrategyGeneric > findPeakStrategy) |
| FitPropertyBrowser (const FitPropertyBrowser &)=delete | |
| FitPropertyBrowser (QWidget *parent=nullptr, QObject *mantidui=nullptr) | |
| Constructor. | |
| double | fwhm () const |
| Width of the current peak. | |
| QString | getAutoBackgroundString () const |
| std::string | getCentreParameterNameOf (const QString &prefix) |
| QString | getConstraintsString () const |
| Creates the "Constraints" property value for the Fit algorithm. | |
| int | getDecimals () const |
| Number of decimal places in double properties. | |
| QString | getErrColumnName () const |
| Get the name of the Error column. | |
| std::string | getExcludeRange () const |
| Get the excluded range for the fit. | |
| const std::string & | getFitAlgorithmOutputStatus () const |
| ================================================================================================= Get Fit Algorithm output statuss | |
| const std::string & | getFitAlgorithmParameters () const |
| ================================================================================================= Get Fit Algorithm parameters | |
| QMenu * | getFitMenu () const |
| Return the Fit menu. | |
| Mantid::API::IFunction_sptr | getFittingFunction () const |
| Return the fitting function. | |
| Mantid::API::IFunction_sptr | getFunctionAtIndex (std::size_t const &index) const |
| Return a function at a specific index in the composite function. | |
| std::string | getFunctionString () const |
| Get the function as a string. | |
| PropertyHandler * | getHandler () const |
| Get handler to the root composite function. | |
| QString | getOldExpressionAsString (const QString ¶meterName) const |
| Get the tie expression stored in the function in case the new expression is invalid and the GUI needs to be reset. | |
| QStringList | getParameterNames () const |
| Get function parameter names. | |
| QList< double > | getParameterValues () const |
| Get function parameter values. | |
| double | getPeakCentreOf (const QString &prefix) |
| double | getPeakFwhmOf (const QString &prefix) |
| PropertyHandler * | getPeakHandler (const QString &prefix) |
| double | getPeakHeightOf (const QString &prefix) |
| QStringList | getPeakPrefixes () const |
| int | getPeakRadius () const |
| Get the peak radius for peak functions. | |
| QString | getTieString () const |
| Creates the "Ties" property value for the Fit algorithm. | |
| std::string | getWidthParameterNameOf (const QString &prefix) |
| std::shared_ptr< Mantid::API::Workspace > | getWorkspace () const |
| Get the workspace. | |
| QListWidget * | getWorkspaceList () const |
| Return the Fit menu. | |
| const QStringList & | getWorkspaceNames () |
| Returns the list of workspaces that are currently been worked on by the fit property browser. | |
| QString | getXColumnName () const |
| Get the name of the X column. | |
| QVector< double > | getXRange () |
| Get the X limits of the workspace. | |
| QString | getYColumnName () const |
| Get the name of the Y column. | |
| double | height () const |
| Height of the current peak. | |
| bool | ignoreInvalidData () const |
| Get the ignore invalid data option. | |
| bool | isAutoBack () const |
| bool | isFitEnabled () const |
| Returns true if the function is ready for a fit. | |
| bool | isHistogramFit () const |
| Get "HistogramFit" option. | |
| bool | isParameterExplicitlySetOf (const QString &prefix, const std::string ¶m) |
| bool | isPeak () const |
| Is the current function a peak? | |
| bool | isUndoEnabled () const |
| Tells if undo can be done. | |
| void | loadFunction (const QString &funcString) |
| Load function. | |
| int | maxIterations () const |
| Get the max number of iterations. | |
| std::string | minimizer (bool withProperties=false) const |
| Get the minimizer. | |
| void | normaliseData (bool on) |
| Set if the data must be normalised before fitting. | |
| FitPropertyBrowser & | operator= (const FitPropertyBrowser &)=delete |
| bool | plotCompositeMembers () const |
| Returns true if a composite's member functions should be plotted also. | |
| bool | plotDiff () const |
| Returns true if the difference plot should be drawn. | |
| void | postDeleteHandle (const std::string &wsName) override |
| workspace was removed | |
| bool | rawData () const override |
| Returns true if the fit should be done against binned (bunched) data. | |
| void | refitAutoBackground () |
| const QStringList & | registeredBackgrounds () const |
| Return a list of registered backgrounds. | |
| const QStringList & | registeredFunctions () const |
| Return a list of registered functions. | |
| const QStringList & | registeredOthers () const |
| Return a list of registered other functions. | |
| const QStringList & | registeredPeaks () const |
| Return a list of registered peaks. | |
| virtual void | removeFunction (PropertyHandler *handler) |
| Removes the function held by the property handler. | |
| void | removeWorkspace (const std::string &wsName) |
| void | removeWorkspaceAndSpectra (const std::string &wsName) |
| void | renameHandle (const std::string &oldName, const std::string &newName) override |
| Handler of the Rename notifications. | |
| void | saveFunction (const QString &fnName) |
| save function | |
| void | sendParameterChanged (const Mantid::API::IFunction *f) |
| void | sendParameterChanged (const QString &prefix) |
| void | sequentialFitFinished () |
| void | setADSObserveEnabled (bool enabled) |
| void | setAutoBackgroundName (const QString &aName) |
| Remember a background function name to be used for creating auto-background. | |
| void | setCentre (double value) |
| Set centre of the current peak. | |
| void | setCurrentFunction (PropertyHandler *h) const |
| Set new current function. | |
| void | setDecimals (int d) |
| void | setDefaultBackgroundType (const std::string &fnType) |
| Set the default background type. | |
| void | setDefaultFunctionType (const std::string &fnType) |
| Set the default function type. | |
| void | setDefaultPeakType (const std::string &fnType) |
| Set the default peak type. | |
| void | setEndX (double end) override |
| Set the end X. | |
| void | setFwhm (double value) |
| Set width of the current peak. | |
| void | setHeight (double value) |
| Set height of the current peak. | |
| void | setIgnoreInvalidData (bool on) |
| Set the ignore invalid data option. | |
| void | setOutputName (const std::string &) |
| Set the output name. | |
| void | setPeakCentreOf (const QString &prefix, double value) |
| void | setPeakFwhmOf (const QString &prefix, double value) |
| void | setPeakHeightOf (const QString &prefix, double value) |
| void | setStartX (double start) override |
| Set the start X. | |
| void | setTextPlotGuess (const QString &text) |
| alter text of Plot Guess | |
| void | setTip (const QString &txt) |
| Display a tip. | |
| void | setWorkspaceIndex (int i) override |
| Set workspace index. | |
| void | setXRange (double start, double end) |
| Set both start and end X. | |
| int | sizeOfFunctionsGroup () const |
| double | startX () const |
| Get the start X. | |
| std::shared_ptr< const Mantid::API::IFunction > | theFunction () const |
| Get the current function. | |
| void | updateAttributes () |
| Update the function attributes. | |
| void | updateParameters () |
| Update the function parameters. | |
| int | workspaceIndex () const |
| Get workspace index. | |
| std::string | workspaceName () const |
| Get the input workspace name. | |
| ~FitPropertyBrowser () override | |
| Destructor. | |
Public Member Functions inherited from Mantid::API::AlgorithmObserver | |
| AlgorithmObserver () | |
| Default constructor. | |
| AlgorithmObserver (const AlgorithmObserver &)=delete | |
| AlgorithmObserver (const IAlgorithm_const_sptr &alg) | |
| Constructs AlgorithmObserver and connects all its handlers to algorithm alg. | |
| virtual void | errorHandle (const IAlgorithm *alg, const std::string &what) |
| void | observeAll (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe all its notifications. | |
| void | observeError (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its error notification. | |
| void | observeFinish (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its finish notification. | |
| void | observeProgress (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its progress notification. | |
| void | observeStart (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its start notification. | |
| void | observeStarting () |
| Connect to AlgorithmManager and observe its starting notifications. | |
| AlgorithmObserver & | operator= (const AlgorithmObserver &)=delete |
| virtual void | progressHandle (const IAlgorithm *alg, double p, const std::string &msg, const double estimatedTime, const int progressPrecision) |
| virtual void | startHandle (const IAlgorithm *alg) |
| virtual void | startingHandle (IAlgorithm_sptr alg) |
| void | stopObserving (const IAlgorithm_const_sptr &alg) |
| Disconnect from algorithm alg. | |
| void | stopObserving (const Mantid::API::IAlgorithm *alg) |
| void | stopObservingManager () |
| Disconnect from the algorithm manager. | |
| virtual | ~AlgorithmObserver () |
| Virtual destructor. | |
Public Member Functions inherited from MantidQt::API::WorkspaceObserver | |
| void | observeAdd (bool on=true) |
| Observe additions. | |
| void | observeADSClear (bool on=true) |
| Observe clearances. | |
| void | observeAfterReplace (bool on=true) |
| Observe replacements. | |
| void | observePostDelete (bool on=true) |
| Observe workspace deletes. | |
| void | observePreDelete (bool on=true) |
| Observe workspace deletes. | |
| void | observeRename (bool on=true) |
| Observe renaming. | |
| WorkspaceObserver & | operator= (const WorkspaceObserver &)=delete |
| WorkspaceObserver () | |
| Default constructor. | |
| WorkspaceObserver (const WorkspaceObserver &)=delete | |
| virtual | ~WorkspaceObserver () |
| Destructor. | |
Public Member Functions inherited from MantidQt::MantidWidgets::IWorkspaceFitControl | |
| virtual | ~IWorkspaceFitControl ()=default |
Public Member Functions inherited from MantidQt::MantidWidgets::IMuonFitFunctionModel | |
| virtual | ~IMuonFitFunctionModel ()=default |
Public Member Functions inherited from MantidQt::MantidWidgets::IMuonFitDataModel | |
| virtual void | workspacesToFitChanged (int n)=0 |
Static Public Attributes | |
| static const std::string | SIMULTANEOUS_PREFIX |
| Prefix for simultaneous fit results. | |
Protected Member Functions | |
| void | setNormalization () |
| void | showEvent (QShowEvent *e) override |
Protected Member Functions inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| QtProperty * | addDoubleProperty (const QString &name, QtDoublePropertyManager *manager=nullptr) const |
| Create a double property and set some settings. | |
| virtual void | addWorkspaceIndexToBrowser () |
| Adds the workspace index property to the browser. | |
| void | createCompositeFunction (const Mantid::API::IFunction_sptr &func) |
| Create CompositeFunction from pointer. | |
| void | createEditors (QWidget *w) |
| Create editors and assign them to the managers. | |
| void | doFit (int maxIterations) |
| Do the fitting. | |
| bool | getShouldBeNormalised () |
| void | hideEvent (QHideEvent *e) override |
| actions to do before the browser is hidden | |
| void | initBasicLayout (QWidget *w) |
| Initialise the layout, except for the fit button in the menu bar. | |
| void | initLayout (QWidget *w) |
| Initialise the layout. | |
| void | minimizerChanged () |
| Called when the minimizer changes. Creates minimizes's properties. | |
| void | modifyFitMenu (QAction *fitAction, bool enabled) |
| virtual void | populateFitMenuButton (QSignalMapper *fitMapper, QMenu *fitMenu) |
| Populate the fit button. | |
| void | populateWorkspaceNames () |
| Get and store available workspace names. | |
| void | setWorkspace (const Mantid::API::IFunction_sptr &function) const |
| Sets the workspace to a function. | |
| void | setWorkspaceProperties () |
| Display properties relevant to the selected workspace. | |
| void | showEvent (QShowEvent *e) override |
| actions to do before the browser made visible | |
| Mantid::API::IFunction_sptr | tryCreateFitFunction (const QString &str) |
| Catches unexpected not found exceptions. | |
| void | updateBrowserFromFitResults (const Mantid::API::IFunction_sptr &finalFunction) |
| Set the parameters to the fit outcome. | |
| void | updateDecimals () |
| impose a number of decimal places on all defined Double properties | |
Protected Member Functions inherited from MantidQt::API::WorkspaceObserver | |
| void | _addHandle (Mantid::API::WorkspaceAddNotification_ptr pNf) |
| Poco notification handler for DataService::DeleteNotification. | |
| void | _afterReplaceHandle (Mantid::API::WorkspaceAfterReplaceNotification_ptr pNf) |
| Poco notification handler for DataService::AfterReplaceNotification. | |
| void | _clearADSHandle (Mantid::API::ClearADSNotification_ptr) |
| ADS clear notification. | |
| void | _postDeleteHandle (Mantid::API::WorkspacePostDeleteNotification_ptr pNf) |
| Poco notification handler for DataService::PostDeleteNotification. | |
| void | _preDeleteHandle (Mantid::API::WorkspacePreDeleteNotification_ptr pNf) |
| Poco notification handler for DataService::PostDeleteNotification. | |
| void | _renameHandle (Mantid::API::WorkspaceRenameNotification_ptr pNf) |
| Poco notification handler for DataService::RenameNotification. | |
| virtual void | addHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the add notifications. | |
| virtual void | afterReplaceHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the AfterReplace notifications. | |
| virtual void | clearADSHandle () |
| Handle an ADS clear notification. | |
| virtual void | preDeleteHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the delete notifications. | |
Private Slots | |
| void | boolChanged (QtProperty *prop) override |
| void | doubleChanged (QtProperty *prop) override |
| void | enumChanged (QtProperty *prop) override |
Private Member Functions | |
| void | addGroupCheckbox (const QString &name) |
| void | addPeriodCheckbox (const QString &name) |
| void | clearGroupCheckboxes () |
| void | clearPeriodCheckboxes () |
| void | ConvertFitFunctionForMuonTFAsymmetry (bool enabled) |
| void | finishAfterSimultaneousFit (const Mantid::API::IAlgorithm *fitAlg, const int nWorkspaces) const |
| After a simultaneous fit, add information to results table and group workspaces. | |
| void | finishAfterTFSimultaneousFit (const Mantid::API::IAlgorithm *alg, const std::string &baseName) const |
| void | genCombinePeriodWindow () |
| void | genGroupWindow () |
| void | genPeriodWindow () |
| std::string | getUnnormName (const std::string wsName) |
| bool | isPeriodValid (const QString &name) |
| bool | isWorkspaceValid (Mantid::API::Workspace_sptr) const override |
| Check if the workspace can be used in the fit. | |
| void | populateFunctionNames () override |
| Get the registered function names. | |
| void | setChosenPeriods (const QStringList &chosenPeriods) |
| void | setFitWorkspaces (const std::string &input) |
| void | setTFAsymmMode (bool state) |
| std::string | TFExtension () const |
| void | updateGroupDisplay () |
| void | updatePeriodDisplay () |
| void | updatePeriods (const int j) |
| void | updateTFPlot () |
Private Attributes | |
| QString | m_autoBackground |
| QGroupBox * | m_btnGroup |
| QDialog * | m_comboWindow |
| MantidQt::MantidWidgets::FunctionBrowser * | m_functionBrowser |
| QPushButton * | m_generateBtn |
| QMap< QString, QtProperty * > | m_groupBoxes |
| Map of group names to checkboxes. | |
| std::vector< std::string > | m_groupsList |
| QtProperty * | m_groupsToFit |
| QStringList | m_groupsToFitOptions |
| QDialog * | m_groupWindow |
| bool | m_isMultiFittingMode |
| QtProperty * | m_keepNorm |
| QSplitter * | m_mainSplitter |
| QtBrowserItem * | m_multiFitSettingsGroup |
| QLineEdit * | m_negativeCombo |
| QtProperty * | m_normalization |
| QStringList | m_normalizationValue |
| QMap< QString, QtProperty * > | m_periodBoxes |
| Map of group names to checkboxes. | |
| QtProperty * | m_periodsToFit |
| QStringList | m_periodsToFitOptions |
| QDialog * | m_periodWindow |
| QLineEdit * | m_positiveCombo |
| QPushButton * | m_reselectGroupBtn |
| QPushButton * | m_reselectPeriodBtn |
| QtProperty * | m_showGroup |
| QStringList | m_showGroupValue |
| QtProperty * | m_showPeriods |
| QStringList | m_showPeriodValue |
| std::string | m_simultaneousLabel |
| Label to use for simultaneous fits. | |
| QtProperty * | m_TFAsymmMode |
| QSplitter * | m_widgetSplitter |
| Splitter for additional widgets and splitter between this and browser. | |
| std::vector< std::string > | m_workspacesToFit |
| Names of workspaces to fit. | |
Additional Inherited Members | |
Protected Slots inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| virtual void | boolChanged (QtProperty *prop) |
| Called when a bool property is changed. | |
| virtual void | doubleChanged (QtProperty *prop) |
| Called when a double property changed. | |
| void | enactAttributeChange (QtProperty *prop, PropertyHandler *h, const bool vectorAttribute=false) |
| virtual void | enumChanged (QtProperty *prop) |
| Called when the function name property changed. | |
| virtual void | intChanged (QtProperty *prop) |
| Called when an int property changed. | |
Protected Attributes inherited from MantidQt::MantidWidgets::FitPropertyBrowser | |
| QtBoolPropertyManager * | m_boolManager |
| QtTreePropertyBrowser * | m_browser |
| bool | m_changeSlotsEnabled |
| If false the change-slots (such as enumChanged(), doubleChanged()) are disabled. | |
| QtEnumPropertyManager * | m_columnManager |
| std::shared_ptr< Mantid::API::CompositeFunction > | m_compositeFunction |
| A copy of the edited function. | |
| QtProperty * | m_convolveMembers |
| QtProperty * | m_costFunction |
| QStringList | m_costFunctions |
| A list of available cost functions. | |
| QtBrowserItem * | m_customSettingsGroup |
| Group for custom options available on muon analysis widget. | |
| QtDoublePropertyManager * | m_doubleManager |
| QtProperty * | m_endX |
| QtEnumPropertyManager * | m_enumManager |
| QtProperty * | m_errColumn |
| QtProperty * | m_evaluationType |
| QStringList | m_evaluationTypes |
| A list of possible function evaluation types. | |
| QtProperty * | m_excludeRange |
| QtStringPropertyManager * | m_filenameManager |
| QAction * | m_fitActionEvaluate |
| QAction * | m_fitActionFit |
| QAction * | m_fitActionSeqFit |
| QAction * | m_fitActionUndoFit |
| QtStringPropertyManager * | m_formulaManager |
| QtBrowserItem * | m_functionsGroup |
| Group for functions. | |
| QtGroupPropertyManager * | m_groupManager |
| Property managers: | |
| bool | m_guessOutputName |
| if true the output name will be guessed every time workspace name is changeed | |
| QtProperty * | m_ignoreInvalidData |
| std::vector< double > | m_initialParameters |
| To keep a copy of the initial parameters in case for undo fit. | |
| QtIntPropertyManager * | m_intManager |
| QtProperty * | m_maxIterations |
| QtProperty * | m_minimizer |
| QList< QtProperty * > | m_minimizerProperties |
| QStringList | m_minimizers |
| A list of available minimizers. | |
| QtProperty * | m_output |
| ParameterPropertyManager * | m_parameterManager |
| QtProperty * | m_peakRadius |
| QtProperty * | m_plotCompositeMembers |
| QtProperty * | m_plotDiff |
| QtProperty * | m_rawData |
| QStringList | m_registeredBackgrounds |
| A list of registered backgrounds. | |
| QStringList | m_registeredFunctions |
| A list of registered functions. | |
| QStringList | m_registeredOther |
| A list of registered functions that are neither peaks nor backgrounds. | |
| QStringList | m_registeredPeaks |
| A list of registered peaks. | |
| QtBrowserItem * | m_settingsGroup |
| Group for input/output settings. | |
| QtProperty * | m_showParamErrors |
| QtProperty * | m_startX |
| QtStringPropertyManager * | m_stringManager |
| QtDoublePropertyManager * | m_vectorDoubleManager |
| QtGroupPropertyManager * | m_vectorManager |
| QtIntPropertyManager * | m_vectorSizeManager |
| QtProperty * | m_workspace |
| QtProperty * | m_workspaceIndex |
| QStringList | m_workspaceNames |
| A list of available workspaces. | |
| QtProperty * | m_xColumn |
| QtProperty * | m_yColumn |
Protected Attributes inherited from MantidQt::API::WorkspaceObserver | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceAddNotification > | m_addObserver |
| Poco::NObserver for DataServise::AddNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceAfterReplaceNotification > | m_afterReplaceObserver |
| Poco::NObserver for DataServise::AfterReplaceNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::ClearADSNotification > | m_clearADSObserver |
| Clear notification observer. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspacePostDeleteNotification > | m_postDeleteObserver |
| Poco::NObserver for DataServise::DeleteNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspacePreDeleteNotification > | m_preDeleteObserver |
| Poco::NObserver for DataServise::DeleteNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceRenameNotification > | m_renameObserver |
| Poco::NObserver for DataServise::RenameNotification. | |
Definition at line 47 of file MuonFitPropertyBrowser.h.
| MantidQt::MantidWidgets::MuonFitPropertyBrowser::MuonFitPropertyBrowser | ( | QWidget * | parent = nullptr, |
| QObject * | mantidui = nullptr |
||
| ) |
Constructor.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::addExtraWidget | ( | QWidget * | widget | ) |
Add an extra widget into the browser.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::addFitBrowserWidget | ( | QWidget * | widget, |
| MantidQt::MantidWidgets::FunctionBrowser * | functionBrowser | ||
| ) |
|
private |
|
private |
|
slot |
|
overrideprivateslot |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::checkFitEnabled | ( | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::clearChosenGroups | ( | ) | const |
Clear list of selected groups.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::clearChosenPeriods | ( | ) | const |
|
private |
|
private |
|
slot |
|
overridevirtual |
After fit checks done, continue.
Implements MantidQt::MantidWidgets::IMuonFitDataModel.
|
private |
|
inlineoverridevirtual |
Plot a guess function.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
Definition at line 96 of file MuonFitPropertyBrowser.h.
|
inlineoverridevirtual |
Remove a plotted guess.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
Definition at line 94 of file MuonFitPropertyBrowser.h.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::doTFAsymmFit | ( | ) |
|
overrideprivateslot |
|
overrideprivateslot |
|
overrideslot |
|
private |
After a simultaneous fit, add information to results table and group workspaces.
|
private |
|
overridevirtual |
Called when the fit is finished.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::finishHandleNormal | ( | const Mantid::API::IAlgorithm * | alg | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::finishHandleTF | ( | const Mantid::API::IAlgorithm * | alg | ) |
|
overrideslot |
Perform the fit algorithm.
|
overridesignal |
Emitted when "fit to raw data" is changed.
|
overridesignal |
Emitted when a fit or sequential fit is requested.
|
overridesignal |
Emitted when function should be updated.
|
private |
|
slot |
|
private |
|
private |
| QStringList MantidQt::MantidWidgets::MuonFitPropertyBrowser::getChosenGroups | ( | ) | const |
| QStringList MantidQt::MantidWidgets::MuonFitPropertyBrowser::getChosenPeriods | ( | ) | const |
|
inlineoverridevirtual |
Get the fitting function.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
Definition at line 73 of file MuonFitPropertyBrowser.h.
|
private |
|
inlineoverridevirtual |
Get names of workspaces that are set to be fitted.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
Definition at line 83 of file MuonFitPropertyBrowser.h.
|
signal |
|
slot |
|
overridevirtual |
Whether a guess is plotted or not.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
|
overridevirtual |
Initialise the layout.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
overridevirtual |
returns true if the browser is set to multi fitting mode
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
|
private |
|
overrideprivatevirtual |
Check if the workspace can be used in the fit.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
overridevirtual |
Get output name.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
signal |
|
slot |
|
overrideprivatevirtual |
Get the registered function names.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
overridesignal |
Emitted when fit is about to be run.
|
signal |
|
overridevirtual |
Run a non-sequential fit.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
|
overridevirtual |
Run a sequential fit.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
|
overrideslot |
Open sequential fit dialog.
|
signal |
Emitted when sequential fit is requested by user.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAllGroups | ( | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAllGroupsOrPairs | ( | const bool | isItGroup | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAllPairs | ( | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAllPeriods | ( | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAvailableGroups | ( | const QStringList & | groups | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setAvailablePeriods | ( | const QStringList & | periods | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setChosenGroup | ( | const QString & | group | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setChosenPeriods | ( | const QString & | period | ) |
|
private |
|
overridevirtual |
Enable/disable the Fit button;.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
private |
|
overridevirtual |
Set function externally.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setGroupNames | ( | const std::vector< std::string > | groupNames | ) |
|
overridevirtual |
Set multiple fitting mode on or off.
Implements MantidQt::MantidWidgets::IMuonFitFunctionModel.
|
protected |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setNormalization | ( | const std::string & | name | ) |
|
slot |
|
inlineoverridevirtual |
Set label for simultaneous fit results.
Implements MantidQt::MantidWidgets::IMuonFitDataModel.
Definition at line 81 of file MuonFitPropertyBrowser.h.
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setSingleFitLabel | ( | const std::string & | name | ) |
| void MantidQt::MantidWidgets::MuonFitPropertyBrowser::setTFAsymm | ( | bool | state | ) |
|
private |
|
overridevirtual |
Set the input workspace name.
Reimplemented from MantidQt::MantidWidgets::FitPropertyBrowser.
|
overridevirtual |
Set list of workspaces to fit.
Implements MantidQt::MantidWidgets::IMuonFitDataModel.
|
overrideprotected |
|
private |
|
signal |
|
private |
|
private |
|
slot |
|
private |
|
private |
|
inlineoverridevirtual |
User changed dataset index to fit.
Implements MantidQt::MantidWidgets::IMuonFitDataModel.
Definition at line 85 of file MuonFitPropertyBrowser.h.
References index.
|
overridesignal |
Emitted when dataset index to fit is changed.
|
overridesignal |
Emitted when number of workspaces to fit is changed.
|
private |
Definition at line 233 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 223 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 226 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 227 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 222 of file MuonFitPropertyBrowser.h.
|
private |
Map of group names to checkboxes.
Definition at line 207 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 228 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 204 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 205 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 224 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 231 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 201 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 194 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 203 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 218 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 199 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 200 of file MuonFitPropertyBrowser.h.
|
private |
Map of group names to checkboxes.
Definition at line 214 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 211 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 212 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 225 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 217 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 220 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 221 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 208 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 209 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 215 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 216 of file MuonFitPropertyBrowser.h.
|
private |
Label to use for simultaneous fits.
Definition at line 198 of file MuonFitPropertyBrowser.h.
|
private |
Definition at line 202 of file MuonFitPropertyBrowser.h.
|
private |
Splitter for additional widgets and splitter between this and browser.
Definition at line 194 of file MuonFitPropertyBrowser.h.
|
private |
Names of workspaces to fit.
Definition at line 196 of file MuonFitPropertyBrowser.h.
|
static |
Prefix for simultaneous fit results.
Definition at line 79 of file MuonFitPropertyBrowser.h.