Warn users if they are asking DREAM for too many samples (Trac #799) #899
Labels
Enhancement
Feature requests and/or general improvements
Major
Big change in the code or important change in behaviour
Milestone
Users are confused about the difference between "Samples", "Steps" and "Burn-in Steps" in DREAM. They are increasing #samples to unreasonable levels instead of using burn-in. This can cause the user inteface to fail after DREAM has spent days collecting samples when it tries to create plots with ridiculous numbers of samples.
Explanation
Samples is the number of samples to save. From this we can derive #steps = #samples/(#pars*#pop) + 1.
If steps is greater than zero then samples is ignored.
Total number of steps is #burn + #steps.
On completion, all but the final steps are saved, so even if you hit stop before burn is complete you still get #steps*#pop*#pars samples (or less if fewer than #steps iterations have passed before you hit stop).
To do
(1) Make sure the explanation is clear in the documentation, tool tips and help
(2) Warn users if they are asking for more than 1M samples, or maybe limit users to 1M samples unless they are running from the command line.
Alternative
(1) Revise inputs:
(2) Show minimum steps required to collect the desired number of samples
Migrated from http://trac.sasview.org/ticket/799
The text was updated successfully, but these errors were encountered: