Bug #1396

GUI: Provide limits for all properties

Added by david over 4 years ago. Updated over 4 years ago.

Status:RejectedStart date:24 Mar 2016
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:Sprint 31

Description

It would be nice when all properties have limits. Up to now the limits are missing from FormFactorItems, Wavelengths, etc. (to investigate)

Settings limits is easy. When you have

addProperty(P_LENGTH, 10.0);

you can add

addProperty(P_LENGTH, 10.0);
getItem(P_LENGTH)->setLimits(AttLimits::lowerLimited(0.0));

Background: Real time activity is respecting limits. But when no limits is set, sliders get out of bound and simulation fails.

Could be done quite fast, but I have not the necessary physical background.

History

#1 Updated by david over 4 years ago

  • Status changed from New to Rejected

Minor fixe adds default limits to all items. Custom limits will be changed in the context of fitting.

Also available in: Atom PDF