Skip to content

Sum/Product Models don't do what they should (Trac #767) #881

@smk78

Description

@smk78

The Sum|Multi model generator is not creating properly parameterised models:

'''Sum'''
Should do: scale_factor * {(scale_1 * model_1) + (scale_2 * model_2)} + background

Is doing : scale_factor * {(scale_1 * model_1 + background_1) + (scale_2 * model_2 + background_2)}

'''Product'''

Should do: scale_factor * model_1 * model_2 + background

Is doing : (scale_1 * model_1 + background_1) * (scale_2 * model_2 + background_2) + background

Migrated from http://trac.sasview.org/ticket/767

{
    "status": "closed",
    "changetime": "2017-09-15T15:38:14",
    "_ts": "2017-09-15 15:38:14.545678+00:00",
    "description": "The Sum|Multi model generator is not creating properly parameterised models:\n\n'''Sum'''\nShould do: scale_factor * {(scale_1 * model_1) + (scale_2 * model_2)} + background\n\nIs doing : scale_factor * {(scale_1 * model_1 + background_1) + (scale_2 * model_2 + background_2)}\n\n'''Product'''\n\nShould do: scale_factor * model_1 * model_2 + background\n\nIs doing : (scale_1 * model_1 + background_1) * (scale_2 * model_2 + background_2) + background\n",
    "reporter": "smk78",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-10-10T21:30:14",
    "component": "SasView",
    "summary": "Sum/Product Models don't do what they should",
    "priority": "critical",
    "keywords": "",
    "milestone": "SasView 4.2.0",
    "owner": "lewis",
    "type": "defect"
}

Metadata

Metadata

Labels

CriticalHigh priorityDefectBug or undesirable behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions