9 #ifndef IMPSAXS_DERIVATIVE_CALCULATOR_H
10 #define IMPSAXS_DERIVATIVE_CALCULATOR_H
16 IMPSAXS_BEGIN_NAMESPACE
37 void compute_chisquare_derivative(
40 std::vector<algebra::Vector3D>& derivatives,
41 const std::vector<double>& effect_size)
const;
52 std::vector<algebra::Vector3D>& derivatives,
53 const std::vector<double>& effect_size)
const {
54 return compute_chisquare_derivative(model_profile, particles, particles,
55 derivatives, effect_size);
58 void compute_gaussian_effect_size(
const Profile* model_profile,
const Float c,
60 std::vector<double>& effect_size)
const;
67 const Profile* resampled_model_profile,
69 std::vector<Floats>& sinc_cos_values)
const;
75 void compute_intensity_derivatives(
77 const std::vector<Floats>& sinc_cos_values,
unsigned int iq,
84 void compute_sinc_cos(
Float pr_resolution,
Float max_distance,
86 std::vector<Floats>& output_values)
const;
void compute_chisquare_derivative(const Profile *model_profile, const kernel::Particles &particles, std::vector< algebra::Vector3D > &derivatives, const std::vector< double > &effect_size) const
compute derivatives for particles
computes distribution functions
Common base class for heavy weight IMP objects.
A shared base class to help in debugging and things.
double Float
Basic floating-point value (could be float, double...)
A class for profile storing and computation.