Ticket #6373 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Add option to Fit to output separate spectra for CompositeFunctions members

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Jose Borreguero

Description

The current Fit output only displays a single spectrum for the calculated value. Add an option to allow it to append the values of each of the individual members too.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Add OutputCompositeMembers property to Fit. Refs #6373

This will "unroll" each composite and display the function values for each member in the output workspace.

Changeset: d5ceee4185a8eeae84feffbf4c078f8e8393c9e4

comment:2 Changed 8 years ago by Martyn Gigg

Disable error test while it is unreliable. Refs #6373

Changeset: 4c1163173502b4ce4def765e35b7108974d2f9c7

comment:3 Changed 8 years ago by Martyn Gigg

Change assignments to value not-reference in functions Refs #6373

The getParameter function returns by value but most places seem to assign it to a reference. We get away with it as the parameter is still in the same place in memory inside the vector but it's misleading.

Changeset: cfd52a8d7b0f703a4d68db5f278b4e8ec6eef0a8

comment:4 Changed 8 years ago by Martyn Gigg

Change test for new FitMW behaviour. Refs #6373

Should make the error check more stable

Changeset: 5eae1b68d086f23f47639c5ba9d18092eff35464

comment:5 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:6 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

Tester: This option should be usable from Python and from the GUI so please test using a script calling Fit with the OutputCompositeMembers on/off. When it is on and the function is composite the output workspace should contain an additional spectrum for each function with the corresponding function values.

The Fit GUI now always produces a workspace with any composites "unrolled". The new plot option only controls what you see on the Graph. Make sure you test both composite & non-composite functions to see that they both behave as expected.

comment:7 Changed 8 years ago by Martyn Gigg

Add option to FitBrowser to plot each function from composite

Refs #6373

Changeset: fd0a07af285618194bf5c5e64aaf27972625dd6f

comment:8 Changed 8 years ago by Martyn Gigg

Add OutputCompositeMembers property to Fit. Refs #6373

This will "unroll" each composite and display the function values for each member in the output workspace.

Changeset: c0afd95935a64ebbd65e0fd5c298a21c739e794f

comment:9 Changed 8 years ago by Martyn Gigg

Disable error test while it is unreliable. Refs #6373

Changeset: fa72d52fb31d3da9602604f39a0cc850175446b6

comment:10 Changed 8 years ago by Martyn Gigg

Change assignments to value not-reference in functions Refs #6373

The getParameter function returns by value but most places seem to assign it to a reference. We get away with it as the parameter is still in the same place in memory inside the vector but it's misleading.

Changeset: 77dea4ea06224c6394584ce91e93c5ed983c986a

comment:11 Changed 8 years ago by Martyn Gigg

Change test for new FitMW behaviour. Refs #6373

Should make the error check more stable

Changeset: 325da80311a695de0bc43130bc1804363c0925d1

comment:12 Changed 8 years ago by Martyn Gigg

Add option to FitBrowser to plot each function from composite

Refs #6373

Changeset: 6450966a42c5a59f67958030c390c21799147e0e

comment:13 Changed 8 years ago by Jose Borreguero

  • Status changed from verify to verifying
  • Tester set to Jose Borreguero

comment:14 Changed 8 years ago by Jose Borreguero

  • Status changed from verifying to closed

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7219

Note: See TracTickets for help on using tickets.