9 #ifndef IMPMULTIFIT_DENSITY_DATA_POINTS_H
10 #define IMPMULTIFIT_DENSITY_DATA_POINTS_H
15 #include <IMP/statistics/internal/random_generator.h>
16 #include <IMP/statistics/internal/DataPoints.h>
20 #include <IMP/algebra/internal/tnt_array2d.h>
21 #include <IMP/algebra/internal/tnt_array2d_utils.h>
23 #include <boost/scoped_ptr.hpp>
24 #include <IMP/multifit/multifit_config.h>
27 IMPMULTIFIT_BEGIN_NAMESPACE
31 em::DensityMap *grid2map(
const DensGrid &dg,
float spacing);
39 :
public IMP::statistics::internal::XYZDataPoints
43 float density_threshold);
45 float density_threshold);
46 IMP::statistics::internal::Array1DD sample()
const;
51 { out <<
"DensityDataPoints" << std::endl; }, {});
54 void set_max_min_density_values();
56 void set_density(
const DensGrid &dens);
59 boost::scoped_ptr<DensGrid> dens_;
61 double max_value_,min_value_;
66 IMPMULTIFIT_END_NAMESPACE