Defines class BeamAngleItems.
Defines some unit conversion factors and other constants in namespace Units.
double azimuthalAngle() const
Returns beam azimuthal angle. In the case of distribution applied, returns its mean.
static const bool m_show_mean
double scaleFactor() const override
Scales the values provided by distribution (to perform deg->rad conversion in the case of AngleDistri...
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.
BeamInclinationAngleItem()
double inclinationAngle() const
Returns beam inclination angle. In the case of distribution applied, returns its mean.
double scaleFactor() const override
Scales the values provided by distribution (to perform deg->rad conversion in the case of AngleDistri...
static const bool m_show_mean
static RealLimits limited(double left_bound_value, double right_bound_value)
Creates an object bounded from the left and right.
SessionItem & setDecimals(int n)
SessionItem * getGroupItem(const QString &groupName) const
Access subitem of group item.
bool setValue(QVariant value)
Set value, ensure that variant types match.
SessionItem * getItem(const QString &tag="", int row=0) const
Returns item in given row of given tag.
SessionItem & setLimits(const RealLimits &value)
static const QString P_MEAN
static constexpr double deg