-
Notifications
You must be signed in to change notification settings - Fork 30
reuse computed I(qx,qy) values when computing 2D resolution (Trac #716) #114
Copy link
Copy link
Open
Description
sasmodels/resolution2D.py sets the calculated qx,qy points by drawing NR x NPHI points around each measured point qx,qy. This means that the 2D pattern is computed 12, 30, 60, or 200 times depending on the choice of accuracy.
Rather than blindly drawing this many points around each qx,qy, we should first check if there are enough points already being computed in the pattern, and only add points where more are needed. This has the potential for significant speedup of 2D calculations when the resolution is worse than the pixel spacing.
Migrated from http://trac.sasview.org/ticket/716
{
"status": "new",
"changetime": "2019-03-02T01:09:26",
"_ts": "2019-03-02 01:09:26.524573+00:00",
"description": "sasmodels/resolution2D.py sets the calculated qx,qy points by drawing NR x NPHI points around each measured point qx,qy. This means that the 2D pattern is computed 12, 30, 60, or 200 times depending on the choice of accuracy.\n\nRather than blindly drawing this many points around each qx,qy, we should first check if there are enough points already being computed in the pattern, and only add points where more are needed. This has the potential for significant speedup of 2D calculations when the resolution is worse than the pixel spacing.",
"reporter": "pkienzle",
"cc": "",
"resolution": "",
"workpackage": "SasModels Infrastructure",
"time": "2016-10-06T16:25:53",
"component": "sasmodels",
"summary": "reuse computed I(qx,qy) values when computing 2D resolution",
"priority": "major",
"keywords": "",
"milestone": "sasmodels 1.0",
"owner": "",
"type": "enhancement"
}Reactions are currently unavailable