Opened 9 years ago

Last modified 6 years ago

#481 new defect

support polydispersity for integer parameters (e.g., pearl necklace)

Reported by: pkienzle Owned by:
Priority: minor Milestone: SasView Next Release +1
Component: SasView Keywords:
Cc: Work Package: SasModels Infrastructure

Description

Models such as pearl necklace would like to be able to have polydispersity on the number of pearls and fit the number of pearls.

Need to be able to tag a parameter as an integer parameter, and use this to select the discrete version of the distribution. The model will still take the integer parameter as a floating point number to keep the code simple.

The current version sort of works as long as the model converts floats to integers internally. With enough points in the distribution, each integer will be selected in proportion to the area under the distribution for that integer.

Change History (1)

comment:1 Changed 6 years ago by butler

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