Opened 8 years ago

Last modified 6 years ago

#716 new enhancement

reuse computed I(qx,qy) values when computing 2D resolution

Reported by: pkienzle Owned by:
Priority: major Milestone: sasmodels 1.0
Component: sasmodels Keywords:
Cc: Work Package: SasModels Infrastructure

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.

Change History (2)

comment:1 Changed 6 years ago by pkienzle

  • Component changed from SasView to sasmodels
  • Milestone changed from SasView Next Release +1 to sasmodels 1.0
  • Work Package changed from SasView Bug Fixing to SasModels Redesign

comment:2 Changed 6 years ago by butler

  • Work Package changed from SasModels Redesign to SasModels Infrastructure
Note: See TracTickets for help on using tickets.