7#ifndef IMPISD_FRET_DATA_H
8#define IMPISD_FRET_DATA_H
10#include <IMP/isd/isd_config.h>
15#include <cereal/access.hpp>
16#include <cereal/types/vector.hpp>
24class IMPISDEXPORT FretData :
public Object {
28 std::vector<unsigned> nbin_;
33 friend class cereal::access;
35 template<
class Archive>
void serialize(Archive &ar) {
36 ar(cereal::base_class<Object>(
this), d_term_, d_center_, s_grid_, nbin_,
37 dimension_, grid_, norm_);
40 unsigned get_index(
unsigned indices[3])
const;
49 int get_closest(std::vector<double>
const& vec,
double value)
const;
Storage of a model, its restraints, constraints and particles.
Object(std::string name)
Construct an object with the given name.
Various useful constants.
Various general useful macros for IMP.
double Float
Basic floating-point value (could be float, double...).
std::pair< double, double > FloatPair
A generic pair of floats.
IMP::Vector< Float > Floats
Standard way to pass a bunch of Float values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.