MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setWidth

Method setWidth

src/openms/source/KERNEL/BaseFeature.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void BaseFeature::setWidth(BaseFeature::WidthType fwhm)
88 {
89 // !!! Dirty hack: as long as featureXML doesn't support a width field,
90 // we abuse the meta information for this.
91 // See also FeatureXMLFile::readFeature_().
92 width_ = fwhm;
93 setMetaValue("FWHM", fwhm);
94 }
95
96 const BaseFeature::ChargeType& BaseFeature::getCharge() const
97 {

Callers 15

test_BaseFeatureFunction · 0.95
invalidate_Method · 0.45
paintMethod · 0.45
paintMethod · 0.45
drawMethod · 0.45
main_Method · 0.45
main_Method · 0.45
makeBaseFeature_Method · 0.45
loadMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_BaseFeatureFunction · 0.76
testConsensusFeatureFunction · 0.36
testConsensusMapFunction · 0.36
testFeatureFunction · 0.36