Skip to content

redefine rectangular distribution parameters (Trac #764) #879

@pkienzle

Description

@pkienzle

The current definition of the rectangular distribution uses the 1-sigma equivalent width of the distribution rather than the more natural half-width. That means, for example, that if you want a rectangular distribution covering theta +/- 10 degrees uniformly, you instead need to 10/sqrt(3) or 5.77. Furthermore, then number of points in the distribution will be reduced as a function of Nsigs.

It will be far easier to use the distribution if PD is half the width of the desired distribution, Npts is the number of points used and Nsigs is ignored.

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

{
    "status": "new",
    "changetime": "2018-02-14T10:19:02",
    "_ts": "2018-02-14 10:19:02.656355+00:00",
    "description": "The current definition of the rectangular distribution uses the 1-sigma equivalent width of the distribution rather than the more natural half-width.  That means, for example, that if you want a rectangular distribution covering theta +/- 10 degrees uniformly, you instead need to 10/sqrt(3) or 5.77.  Furthermore, then number of points in the distribution will be reduced as a function of Nsigs.\n\nIt will be far easier to use the distribution if PD is half the width of the desired distribution, Npts is the number of points used and Nsigs is ignored.",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-10-10T20:37:54",
    "component": "SasView",
    "summary": "redefine rectangular distribution parameters",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 4.3.0",
    "owner": "",
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions