9#ifndef IMPEM2D_EM_2DRESTRAINT_H
10#define IMPEM2D_EM_2DRESTRAINT_H
12#include <IMP/em2d/em2d_config.h>
23IMPEM2D_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;
122 if (opt) only_coarse_registration_ =
true;
132 return finder_->get_registration_results();
IMP images for Electron Microscopy Copyright 2007-2026 IMP Inventors. All rights reserved.
Coarse registration of 2D projections from a 3D volume.
projection masks Copyright 2007-2026 IMP Inventors. All rights reserved.
Registration results class Copyright 2007-2022 IMP Inventors. All rights reserved.
Abstract base class for all restraints.
A container for Singletons.
Class for adding derivatives from restraints to the model.
void set_was_used(bool tf) const
Restraint(Model *m, std::string name)
Create a restraint and register it with the model.
A shared container for Singletons.
Parameters used by Em2DRestraint and ProjectionFinder.
void set_fast_mode(unsigned int n)
void set_coarse_registration_mode(bool opt)
RegistrationResults get_registration_results() const
void setup(ScoreFunction *score_function, const Em2DRestraintParameters ¶ms)
void set_particles(SingletonContainer *particles_container)
void set_variance_images(const em2d::Images variance_images)
void set_images(const em2d::Images em_images)
virtual double unprotected_evaluate(IMP::DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
virtual IMP::ModelObjectsTemp do_get_inputs() const override
Class to perform registration of model projections to images.
Base class for all scoring functions related to em2d.
Logging and error reporting support.
IMP::Vector< IMP::Pointer< Em2DRestraint > > Em2DRestraints
IMP::Vector< RegistrationResult > RegistrationResults
IMP::Vector< IMP::Pointer< Image > > Images
A vector of reference counted pointers to EM images of type double.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Generation of projections from models or density maps Copyright 2007-2026 IMP Inventors....
Scoring functions for 2D Copyright 2007-2026 IMP Inventors. All rights reserved.
A smart pointer to a reference counted object.