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-2015 IMP Inventors. All rights reserved.
Class for adding derivatives from restraints to the model.
projection masks Copyright 2007-2015 IMP Inventors. All rights reserved.
RegistrationResults get_registration_results() const
Import IMP/kernel/SingletonContainer.h in the namespace.
void set_was_used(bool tf) const
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a reference counted object.
IMP images for Electron Microscopy using openCV matrices Copyright 2007-2015 IMP Inventors. All rights reserved.
Scoring functions for 2D Copyright 2007-2015 IMP Inventors. All rights reserved.
void setup(ScoreFunction *score_function, const Em2DRestraintParameters ¶ms)
Abstract base class for all restraints.
A restraint is a term in an IMP ScoringFunction.
Base class for all scoring functions related to em2d.
void set_coarse_registration_mode(bool opt)
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Coarse registration of 2D projections from a 3D volume.
Parameters used by Em2DRestraint and ProjectionFinder.
virtual ModelObjectsTemp do_get_inputs() const =0
Logging and error reporting support.
Registration results class Copyright 2007-2015 IMP Inventors. All rights reserved.
Class to perform registration of model projections to images.
A shared container for Singletons.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for storing model, its restraints, constraints, and particles.