9 #ifndef IMPEM2D_EM_2DRESTRAINT_H
10 #define IMPEM2D_EM_2DRESTRAINT_H
12 #include <IMP/em2d/em2d_config.h>
23 IMPEM2D_BEGIN_NAMESPACE
42 unsigned int number_of_optimized_projections_;
43 bool fast_optimization_mode_;
44 bool only_coarse_registration_;
65 finder_->setup(score_function, params);
66 fast_optimization_mode_ =
false;
67 only_coarse_registration_ =
false;
96 void set_variance_images(
const em2d::Images variance_images);
109 void set_fast_mode(
unsigned int n);
122 if (opt) only_coarse_registration_ =
true;
132 return finder_->get_registration_results();
143 IMPEM2D_END_NAMESPACE
Generation of projections from models or density maps Copyright 2007-2022 IMP Inventors. All rights reserved.
projection masks Copyright 2007-2022 IMP Inventors. All rights reserved.
RegistrationResults get_registration_results() const
A container for Singletons.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual double unprotected_evaluate(DerivativeAccumulator *da) const
Return the unweighted score for the restraint.
IMP images for Electron Microscopy using openCV matrices Copyright 2007-2022 IMP Inventors. All rights reserved.
A smart pointer to a reference counted object.
Class for storing model, its restraints, constraints, and particles.
Scoring functions for 2D Copyright 2007-2022 IMP Inventors. All rights reserved.
void setup(ScoreFunction *score_function, const Em2DRestraintParameters ¶ms)
Base class for all scoring functions related to em2d.
A shared container for Singletons.
void set_coarse_registration_mode(bool opt)
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
Coarse registration of 2D projections from a 3D volume.
Parameters used by Em2DRestraint and ProjectionFinder.
Abstract base class for all restraints.
Logging and error reporting support.
Registration results class Copyright 2007-2022 IMP Inventors. All rights reserved.
Class to perform registration of model projections to images.
virtual ModelObjectsTemp do_get_inputs() const =0
Class for adding derivatives from restraints to the model.
void set_was_used(bool tf) const
A restraint is a term in an IMP ScoringFunction.