Opened 2 weeks ago

Last modified 2 weeks ago

#1205 new defect

4.2 set weighting choice seems to be ignored.

Reported by: richardh Owned by: mathieu
Priority: critical Milestone: SasView 4.3.0
Component: SasView Keywords:
Cc: Work Package: SasView QA and testing

Description

Comparing fit results between 4.2 and 5.0, noticed (see #1204) that the set weighting option in 4.2 has no effect on the fit results, whereas it does in 5.0

Further investigation required.

Change History (3)

comment:1 Changed 2 weeks ago by smk78

Changing the weighting option does change the appearance of the residuals plot.

Moreover, if you sub-select and fit a region of the data with poorer error bars you DO find that the fit parameters change markedly depending on the weighting scheme chosen. For example, load the ISIS_Polymer_Blend_RT2 data and limit the fitted region to between 0.15 - 0.254. As you include more and more of the data below 0.15 the fit parameters vary less with the weighting scheme chosen as @richardh describes.

comment:2 Changed 2 weeks ago by richardh

In the test I did the cylinder length stayed around 160.5 ang regardless of weighting scheme in 4.2, but in 5.0 was 160.5 (weights dI), 104 (weights none), 148 (sqrtI) and 205 (weights I(Q)) ang. So what is 5.0 doing differently, or is 4.2 acting up? 

comment:3 Changed 2 weeks ago by richardh

3.1.2 and 4.1.2 behave in same way for me as 4.2, so perhaps the issue lies in 5.0 after all?

Note: See TracTickets for help on using tickets.