8#ifndef IMPSAXS_WEIGHTED_FIT_PARAMETERS_H
9#define IMPSAXS_WEIGHTED_FIT_PARAMETERS_H
11#include <IMP/saxs/saxs_config.h>
18IMPSAXS_BEGIN_NAMESPACE
21class WeightedFitParameters :
public FitParameters {
23 WeightedFitParameters() : FitParameters() {}
25 WeightedFitParameters(
double chi_square,
double c1,
double c2,
27 : FitParameters(chi_square, c1, c2), weights_(weights) {}
29 WeightedFitParameters(
const FitParameters& fp) :
34 void set_weights(
const Vector<double>& weights) { weights_ = weights; }
36 void show(std::ostream& s)
const {
37 s <<
"Chi^2 = " << chi_square_ <<
" c1 = " << c1_ <<
" c2 = " << c2_
38 <<
" default chi^2 = " << default_chi_square_ << std::endl;
Copyright 2007-2022 IMP Inventors. All rights reserved.
A class for storing lists of IMP items.
A more IMP-like version of the std::vector.