STIR  6.2.0
Namespaces | Functions
linear_regression.h File Reference

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

#include "stir/VectorWithOffset.h"
#include "stir/linear_regression.inl"

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...
 
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