STIR 6.4.0
linear_regression.h File Reference

Declaration of stir::linear_regression() More...

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

template<class Value, class DataType, class CoordinatesType>
void stir::linear_regression (Value &constant, Value &scale, Value &chi_square, Value &variance_of_constant, Value &variance_of_scale, Value &covariance_of_constant_with_scale, const VectorWithOffset< DataType > &measured_data, const VectorWithOffset< CoordinatesType > &coordinates, const VectorWithOffset< float > &weights, const bool use_estimated_variance=true)
 Implements standard linear regression on VectorWithOffset data.
 
template<class Value, class DataIter, class CoordinatesIter, class WeightsIter>
void stir::linear_regression (Value &constant, Value &scale, Value &chi_square, Value &variance_of_constant, Value &variance_of_scale, Value &covariance_of_constant_with_scale, DataIter measured_data_begin, DataIter measured_data_end, CoordinatesIter coords_begin, WeightsIter weights_begin, const bool use_estimated_variance=true)
 Implements standard linear regression.
 
template<class ValueIter, class DataIter, class CoordinatesIter, class WeightsIter>
void stir::linear_regression (ValueIter regression_values_begin, DataIter data_begin, DataIter data_end, CoordinatesIter coords_begin, WeightsIter weights_begin, const bool use_estimated_variance=true)
 

Detailed Description

Declaration of stir::linear_regression()

Author
Kris Thielemans
PARAPET project