Skip to content

min value on flat background should not be zero but -inf (Trac #581) #713

@RichardHeenan

Description

@RichardHeenan

Comparing 4.0 alpha2 fits with some user data in guinier_porod model, I noticed different results.
min value of flat background is set 0 instead of -inf, alas our neutron backgrounds can be negative if the model is cranky or users have oversubtracted incoherent etc.
I have not got build etc set up at present, perhaps someone else could fix this as this bug seems generic for all models.
Richard

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

{
    "status": "closed",
    "changetime": "2016-10-04T20:01:10",
    "_ts": "2016-10-04 20:01:10.643768+00:00",
    "description": "Comparing 4.0 alpha2 fits with some user data in guinier_porod model, I noticed different results.\nmin value of flat background is set 0 instead of -inf, alas our neutron backgrounds can be negative if the model is cranky or users have oversubtracted incoherent etc.\nI have not got build etc set up at present, perhaps someone else could fix this as this bug seems generic for all models.\nRichard",
    "reporter": "richardh",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-06-14T15:17:43",
    "component": "SasView",
    "summary": "min value on flat background should not be zero but -inf",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 4.1.0",
    "owner": "richardh",
    "type": "defect"
}

Metadata

Metadata

Assignees

Labels

DefectBug or undesirable behaviourMajorBig change in the code or important change in behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions