Feature #1478

Feature #1534: === Parameter handling ===

Refactor FitParameterLinked to provide simultaneous fit of several sample parameters

Added by pospelov about 1 year ago. Updated 8 months ago.

Status:ResolvedStart date:27 Jun 2016
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 33

Description

Current FitParameterLinked item is able to steer several RealParameterWrapper. The idea is that we can fit several unrelated sample parameters ("Cylinder/radius" + "Prism/height") with one fit parameter.
It looks especially nice in GUI, when we can drop already now different ParameterItems on top of single FitParameterItem.

However, to make it actually working, an interface of FitParameterlinked, FitSuite classes should be changed.

Within this item
  • adopt interface of FitParameterLinked to be able to set the fit parameter name, and then something like addPattern("Cylinder\height*")
    • rename, btw, FitParameterLinked to FitParameter
  • introduced new interface method FitSuite::addFitParameter(const FitParameterLinked &par)
  • enable given feature in GUI (FitParameterProxyModel::flags() and FitParameterWidget::initTuningWidgetContextMenu())

Related issues

Related to BornAgain - Feature #1702: Fit: Provide extended print output for fit parameters during iterations. Resolved 01 Dec 2016

History

#1 Updated by pospelov about 1 year ago

  • Description updated (diff)

#2 Updated by pospelov about 1 year ago

  • Status changed from New to Sprint
  • Target version set to Sprint32

#3 Updated by wuttke about 1 year ago

  • Parent task deleted (#284)

#4 Updated by wuttke about 1 year ago

  • Parent task set to #1534

#5 Updated by pospelov 11 months ago

  • Target version changed from Sprint32 to Sprint 33

#6 Updated by wuttke 10 months ago

  • Related to Feature #1702: Fit: Provide extended print output for fit parameters during iterations. added

#7 Updated by pospelov 8 months ago

  • Assignee set to pospelov

#8 Updated by pospelov 8 months ago

  • Status changed from Sprint to Resolved

Now it is possible to fit several unrelated sample parameters with single fit parameter, both from Python and GUI. New user fitting example and functional test have been added.

Also available in: Atom PDF