BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 111 of file DistributionItems.h.
Public Member Functions | |
DistributionLorentzItem () | |
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 (hwhm, Hwhm) | |
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 |
DistributionLorentzItem::DistributionLorentzItem | ( | ) |
Definition at line 168 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::DistributionLogNormalItem(), DistributionLorentzItem(), DistributionTrapezoidItem::DistributionTrapezoidItem(), SymmetricResolutionItem::SymmetricResolutionItem(), and DistributionItem::initSigmaFactor().
|
overridevirtual |
Implements DistributionItem.
Definition at line 183 of file DistributionItems.cpp.
|
overridevirtual |
Implements SymmetricResolutionItem.
Definition at line 189 of file DistributionItems.cpp.
References DistributionItem::m_limits.
|
overridevirtual |
Implements SymmetricResolutionItem.
Definition at line 195 of file DistributionItems.cpp.
|
overridevirtual |
DistributionLorentzItem::DOUBLE_PROPERTY | ( | hwhm | , |
Hwhm | |||
) |
|
inherited |
|
inherited |
|
inherited |
Definition at line 45 of file DistributionItems.cpp.
Referenced by DistributionPlot::plot_multiple_values().
|
overridevirtual |
Reimplemented from DistributionItem.
Definition at line 200 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().
|
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.
|
overridevirtual |
Set the unit of the distributed value.
Reimplemented from SymmetricResolutionItem.
Definition at line 177 of file DistributionItems.cpp.
References SymmetricResolutionItem::setUnit().
|
inherited |
|
protectedinherited |
Definition at line 64 of file DistributionItems.h.
Referenced by createIRangedDistribution(), DistributionGaussianItem::createIRangedDistribution(), DistributionCosineItem::createIRangedDistribution(), DistributionItem::limits(), and DistributionItem::setLimits().
|
privateinherited |
Definition at line 67 of file DistributionItems.h.
Referenced by DistributionItem::addToSerialization(), and DistributionItem::serialize().