18 const double default_wl = 0.1;
52 const double new_value =
Defines class BeamWavelengthItem.
The BeamDistributionItem handles wavelength, inclination and azimuthal parameter distribution for Bea...
void initDistributionItem(bool show_mean)
Propagates the value and limits stored in DistributionNone type into alls distributions.
static const QString P_DISTRIBUTION
void register_distribution_group(const QString &group_type)
virtual double meanValue() const
Returns mean value of the distribution.
static const bool m_show_mean
double wavelength() const
Returns wavelength. In the case of distribution applied, returns its mean.
BeamWavelengthItem(const QString &model_type="BeamWavelength", const QString &distribution_group="Distribution extended group")
Limits for a real fit parameter.
static RealLimits positive()
Creates an object which can have only positive values (>0., zero is not included)
bool isInRange(double value) const
returns true if proposed value is in limits range
double upperLimit() const
Returns upper limit.
double lowerLimit() const
Returns lower limit.
SessionItem & setDecimals(int n)
SessionItem * getGroupItem(const QString &groupName) const
Access subitem of group item.
SessionItem & setEditorType(const QString &editorType)
bool setValue(QVariant value)
Set value, ensure that variant types match.
RealLimits limits() const
SessionItem * getItem(const QString &tag="", int row=0) const
Returns item in given row of given tag.
SessionItem & setLimits(const RealLimits &value)
void setToRange(const RealLimits &limits)
SpecularBeamWavelengthItem()
static const QString P_MEAN