BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 143 of file DistributionItems.h.
Public Member Functions | |
DistributionLogNormalItem () | |
std::unique_ptr< IDistribution1D > | createDistribution (double scale=1.0) const override |
DoubleDescriptors | distributionValues (bool withMean=true) const override |
DOUBLE_PROPERTY (median, Median) | |
DOUBLE_PROPERTY (scaleParameter, ScaleParameter) | |
DOUBLE_PROPERTY (sigmaFactor, SigmaFactor) | |
bool | hasSigmaFactor () const |
void | initDistribution (double value) override |
template<typename T > | |
bool | is () const |
RealLimits | limits () const |
void | serialize (Streamer &s) |
Serialization of contents. More... | |
virtual void | setLimits (const RealLimits &limits) |
void | setUnit (const variant< QString, Unit > &unit) override |
Set the unit of the distributed value. More... | |
UINT_PROPERTY (numberOfSamples, NumberOfSamples) | |
Protected Member Functions | |
void | addToSerialization (DoubleProperty *d) |
void | initSigmaFactor () |
Protected Attributes | |
RealLimits | m_limits |
Private Attributes | |
QVector< DoubleProperty * > | m_serializationProperties |
DistributionLogNormalItem::DistributionLogNormalItem | ( | ) |
Definition at line 270 of file DistributionItems.cpp.
References DistributionItem::addToSerialization(), DistributionItem::initSigmaFactor(), and unitless.
|
protectedinherited |
Definition at line 40 of file DistributionItems.cpp.
References DistributionItem::m_serializationProperties.
Referenced by DistributionCosineItem::DistributionCosineItem(), DistributionGateItem::DistributionGateItem(), DistributionGaussianItem::DistributionGaussianItem(), DistributionLogNormalItem(), DistributionLorentzItem::DistributionLorentzItem(), DistributionTrapezoidItem::DistributionTrapezoidItem(), SymmetricResolutionItem::SymmetricResolutionItem(), and DistributionItem::initSigmaFactor().
|
overridevirtual |
Implements DistributionItem.
Definition at line 287 of file DistributionItems.cpp.
|
overridevirtual |
Implements DistributionItem.
Definition at line 302 of file DistributionItems.cpp.
DistributionLogNormalItem::DOUBLE_PROPERTY | ( | median | , |
Median | |||
) |
DistributionLogNormalItem::DOUBLE_PROPERTY | ( | scaleParameter | , |
ScaleParameter | |||
) |
|
inherited |
|
inherited |
Definition at line 45 of file DistributionItems.cpp.
Referenced by DistributionPlot::plot_multiple_values().
|
overridevirtual |
Reimplemented from DistributionItem.
Definition at line 292 of file DistributionItems.cpp.
|
protectedinherited |
Definition at line 34 of file DistributionItems.cpp.
References DistributionItem::addToSerialization(), and unitless.
Referenced by DistributionCosineItem::DistributionCosineItem(), DistributionGaussianItem::DistributionGaussianItem(), DistributionLogNormalItem(), and DistributionLorentzItem::DistributionLorentzItem().
|
inlineinherited |
Definition at line 33 of file DistributionItems.h.
Referenced by DistributionPlot::plot_distributions(), DistributionPlot::plot_multiple_values(), and DistributionPlot::plot_single_value().
|
inherited |
Definition at line 62 of file DistributionItems.cpp.
References DistributionItem::m_limits.
Referenced by DistributionPlot::plot_multiple_values(), DistributionItem::setLimits(), and SymmetricResolutionItem::setLimits().
|
inherited |
Serialization of contents.
Important: limits and a changed unit (with setUnit) will not be serialized here. They have to be set again by the owner of DistributionItem after reading it
Definition at line 50 of file DistributionItems.cpp.
References Streamer::assertVersion(), DistributionItem::m_serializationProperties, and Serialize::rwProperty().
|
virtualinherited |
Reimplemented in SymmetricResolutionItem.
Definition at line 29 of file DistributionItems.cpp.
References DistributionItem::limits(), and DistributionItem::m_limits.
Referenced by BeamAzimuthalAngleItem::initDistribution(), BeamInclinationAngleItem::initDistribution(), BeamAzimuthalAngleItem::serialize(), BeamInclinationAngleItem::serialize(), BeamWavelengthItem::serialize(), SpecularBeamInclinationItem::serialize(), and SymmetricResolutionItem::setLimits().
|
overridevirtual |
Set the unit of the distributed value.
Implements DistributionItem.
Definition at line 282 of file DistributionItems.cpp.
|
inherited |
|
protectedinherited |
|
privateinherited |
Definition at line 67 of file DistributionItems.h.
Referenced by DistributionItem::addToSerialization(), and DistributionItem::serialize().