Opened 4 years ago

Last modified 4 years ago

#1056 new defect

Check max_pd maximum number polydisperse parameters

Reported by: richardh Owned by: pkienzle
Priority: minor Milestone: SasView 4.3.0
Component: sasmodels Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Whilst trying to break 2d fitting with oriented elliptical cylinder, which has 6 possible levels of polydispersity integration, three in geometry and three orientation angles, I noted that:

Asking for all 6 gives a "too many polydisperse parameters" message from details.py line 202, (which is fair enough, though perhaps we could increase the allowance). This uses MAX_PD=5 from modelinfo.py

However, asking for 5 levels of integration does not give an error message, but alas plainly does not work, seems to return zero or close to zero from the integrations. Is there a bug somewhere in details.py regarding the buffer spaces or similar. 4 levels of integration seems to work fine.

I have set Paul K as owner as he will likely spot an issue quickly.
Richard

Change History (2)

comment:1 Changed 4 years ago by butler

That's interesting — I thought Paul had set the maximum to 4 not 5. I believe the reason had to do not only with how slow it gets and unhelpful the answers might be but with some assumptions made in later calculations? Definitely need to engage Paul K. on this.

comment:2 Changed 4 years ago by butler

  • Milestone changed from SasView 4.2.0 to SasView 4.3.0
Note: See TracTickets for help on using tickets.