template<class VecElemT, class HistElemT>
Computes Weibull parameters for given histogram and puts them in a vector.
Definition at line 39 of file ComputeWeibull.h. References Impala::Core::Histogram::FitWeibullMarginal< HistT >::A2(), Impala::Core::Histogram::FitWeibullMarginal< HistT >::Gamma(), Impala::Core::Histogram::Histogram1dTem< ElemT >::GetBinCount(), Impala::Core::Vector::VectorTem< ElemT >::GetData(), Impala::Core::Histogram::Histogram1dTem< ElemT >::GetHigh(), Impala::Core::Histogram::Histogram1dTem< ElemT >::GetLow(), and Impala::Core::Histogram::FitWeibullMarginal< HistT >::Mu(). 00041 { 00042 FitWeibullMarginal<VecElemT> fit(hist.GetData(), hist.GetBinCount(), 00043 hist.GetLow(), hist.GetHigh()); 00044 v[0] = fit.Beta(); 00045 v[1] = fit.Gamma(); 00046 int idx = 2; 00047 if (storeMu) 00048 v[idx++] = fit.Mu(); 00049 if (storeA) 00050 v[idx] = fit.A2(); 00051 }
Here is the call graph for this function:
|