BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 83 of file DistributionItems.h.
Public Member Functions | |
DistributionNoneItem () | |
std::unique_ptr< IDistribution1D > | createDistribution (double scale=1.0) const override |
std::unique_ptr< IRangedDistribution > | createIRangedDistribution (double scale) const override |
double | deviation (double scale) const override |
DoubleDescriptors | distributionValues (bool withMean=true) const override |
DOUBLE_PROPERTY (mean, Mean) | |
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... | |
void | setLimits (const RealLimits &limits) override |
void | setMeanDecimals (uint d) |
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 |
DistributionNoneItem::DistributionNoneItem | ( | ) |
Definition at line 94 of file DistributionItems.cpp.
|
protectedinherited |
Definition at line 40 of file DistributionItems.cpp.
References DistributionItem::m_serializationProperties.
Referenced by DistributionCosineItem::DistributionCosineItem(), DistributionGateItem::DistributionGateItem(), DistributionGaussianItem::DistributionGaussianItem(), DistributionLogNormalItem::DistributionLogNormalItem(), DistributionLorentzItem::DistributionLorentzItem(), DistributionTrapezoidItem::DistributionTrapezoidItem(), SymmetricResolutionItem::SymmetricResolutionItem(), and DistributionItem::initSigmaFactor().
|
overridevirtual |
Implements DistributionItem.
Definition at line 99 of file DistributionItems.cpp.
|
overridevirtual |
Implements SymmetricResolutionItem.
Definition at line 104 of file DistributionItems.cpp.
|
overridevirtual |
Implements SymmetricResolutionItem.
Definition at line 109 of file DistributionItems.cpp.
|
overridevirtual |
|
inherited |
|
inherited |
|
inherited |
Definition at line 45 of file DistributionItems.cpp.
Referenced by DistributionPlot::plot_multiple_values().
|
overridevirtual |
Reimplemented from DistributionItem.
Definition at line 114 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::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().
|
overridevirtualinherited |
Reimplemented from DistributionItem.
Definition at line 81 of file DistributionItems.cpp.
References DistributionItem::limits(), and DistributionItem::setLimits().
|
inherited |
Definition at line 87 of file DistributionItems.cpp.
|
overridevirtualinherited |
Set the unit of the distributed value.
Implements DistributionItem.
Reimplemented in DistributionCosineItem, DistributionGaussianItem, and DistributionLorentzItem.
Definition at line 76 of file DistributionItems.cpp.
Referenced by DistributionLorentzItem::setUnit(), DistributionGaussianItem::setUnit(), and DistributionCosineItem::setUnit().
|
inherited |
|
protectedinherited |
|
privateinherited |
Definition at line 67 of file DistributionItems.h.
Referenced by DistributionItem::addToSerialization(), and DistributionItem::serialize().