template<class VecElemT, class HistElemT>
Computes Weibull parameters for given "histogram" and puts them in a vector.
Definition at line 20 of file ComputeWeibull.h. References Impala::Core::Histogram::FitWeibullMarginal< HistT >::A2(), Impala::Core::Histogram::FitWeibullMarginal< HistT >::Gamma(), Impala::Core::Vector::VectorTem< ElemT >::GetData(), Impala::Core::Histogram::FitWeibullMarginal< HistT >::Mu(), and Impala::Core::Vector::VectorTem< ElemT >::Size(). 00023 { 00024 FitWeibullMarginal<VecElemT> fit(hist.GetData(), hist.Size(), histLow, 00025 histHigh); 00026 v[0] = fit.Beta(); 00027 v[1] = fit.Gamma(); 00028 int idx = 2; 00029 if (storeMu) 00030 v[idx++] = fit.Mu(); 00031 if (storeA) 00032 v[idx] = fit.A2(); 00033 }
Here is the call graph for this function:
|