Xmipp
v3.23.11-Nereus
|
#include <ml2d.h>
Public Member Functions | |
void | initSamplingStuff () |
ML2DBaseProgram () | |
virtual void | produceSideInfo ()=0 |
Try to merge produceSideInfo1 and 2. More... | |
virtual void | produceSideInfo2 ()=0 |
Try to merge produceSideInfo1 and 2. More... | |
virtual void | iteration ()=0 |
virtual void | expectation ()=0 |
Integrate over all experimental images. More... | |
virtual void | endIteration () |
Do some task at the end of iteration. More... | |
virtual void | maximization ()=0 |
Update all model parameters, adapted for IEM blocks use. More... | |
virtual void | setNumberOfLocalImages () |
Set the number of images, this function is useful only for MPI. More... | |
virtual void | randomizeImagesOrder () |
Randomize initial images order, only once. More... | |
virtual void | createThreads () |
Create working threads. More... | |
virtual void | destroyThreads () |
Exit threads and free memory. More... | |
virtual void | writeOutputFiles (const ModelML2D &model, OutputType outputType=OUT_FINAL)=0 |
Write output files. More... | |
virtual bool | checkConvergence () |
virtual void | addPartialDocfileData (const MultidimArray< double > &data, size_t first, size_t last)=0 |
Add docfiledata to docfile. More... | |
virtual void | run () |
Main function of the program. More... | |
virtual void | defineBasicParams (XmippProgram *prog) |
virtual void | defineAdditionalParams (XmippProgram *prog, const char *sectionLine) |
virtual void | defineHiddenParams (XmippProgram *prog) |
Public Member Functions inherited from XmippProgram | |
const char * | getParam (const char *param, int arg=0) |
const char * | getParam (const char *param, const char *subparam, int arg=0) |
int | getIntParam (const char *param, int arg=0) |
int | getIntParam (const char *param, const char *subparam, int arg=0) |
double | getDoubleParam (const char *param, int arg=0) |
double | getDoubleParam (const char *param, const char *subparam, int arg=0) |
float | getFloatParam (const char *param, int arg=0) |
float | getFloatParam (const char *param, const char *subparam, int arg=0) |
void | getListParam (const char *param, StringVector &list) |
int | getCountParam (const char *param) |
bool | checkParam (const char *param) |
bool | existsParam (const char *param) |
void | addParamsLine (const String &line) |
void | addParamsLine (const char *line) |
ParamDef * | getParamDef (const char *param) const |
virtual void | quit (int exit_code=0) const |
virtual int | tryRun () |
void | initProgress (size_t total, size_t stepBin=60) |
void | setProgress (size_t value=0) |
void | endProgress () |
void | processDefaultComment (const char *param, const char *left) |
void | setDefaultComment (const char *param, const char *comment) |
virtual void | initComments () |
virtual void | defineParams () |
virtual void | readParams () |
void | setProgramName (const char *name) |
void | addUsageLine (const char *line, bool verbatim=false) |
void | clearUsage () |
void | addExampleLine (const char *example, bool verbatim=true) |
void | addSeeAlsoLine (const char *seeAlso) |
void | addKeywords (const char *keywords) |
const char * | name () const |
virtual void | usage (int verb=0) const |
virtual void | usage (const String ¶m, int verb=2) |
int | version () const |
virtual void | show () const |
virtual void | read (int argc, const char **argv, bool reportErrors=true) |
virtual void | read (int argc, char **argv, bool reportErrors=true) |
void | read (const String &argumentsLine) |
XmippProgram () | |
XmippProgram (int argc, const char **argv) | |
virtual | ~XmippProgram () |
Additional Inherited Members | |
Protected Member Functions inherited from XmippProgram | |
void | defineCommons () |
Protected Attributes inherited from XmippProgram | |
int | errorCode |
ProgramDef * | progDef |
Program definition and arguments parser. More... | |
std::map< String, CommentList > | defaultComments |
int | argc |
Original command line arguments. More... | |
const char ** | argv |
|
pure virtual |
|
virtual |
Definition at line 119 of file ml2d.cpp.
|
inlinevirtual |
|
virtual |
Reimplemented in ProgMLF2D.
Definition at line 266 of file ml2d.cpp.
|
virtual |
Divide the definition of params in several functions, also allowing other programs to include the ML2D params definition
Reimplemented in ProgMLF2D.
Definition at line 226 of file ml2d.cpp.
|
virtual |
|
inlinevirtual |
|
virtual |
Do some task at the end of iteration.
Reimplemented in ProgMLF2D, MpiProgMLF2D, and MpiProgML2D.
Definition at line 168 of file ml2d.cpp.
|
pure virtual |
Integrate over all experimental images.
Implemented in ProgMLF2D, ProgML2D, MpiProgMLF2D, and MpiProgML2D.
void ML2DBaseProgram::initSamplingStuff | ( | ) |
|
pure virtual |
|
pure virtual |
Try to merge produceSideInfo1 and 2.
Implemented in ProgMLF2D, MpiProgMLF2D, and ProgML2D.
|
pure virtual |
Try to merge produceSideInfo1 and 2.
Implemented in ProgMLF2D, MpiProgMLF2D, ProgML2D, and MpiProgML2D.
|
virtual |
|
virtual |
Main function of the program.
Reimplemented from XmippProgram.
Definition at line 176 of file ml2d.cpp.
|
virtual |
Set the number of images, this function is useful only for MPI.
Reimplemented in MpiProgML2D.
Definition at line 110 of file ml2d.cpp.
|
pure virtual |
Write output files.
Implemented in ProgMLF2D, ProgML2D, MpiProgMLF2D, and MpiProgML2D.
double ML2DBaseProgram::average_scale |
double ML2DBaseProgram::df |
bool ML2DBaseProgram::do_generate_refs |
bool ML2DBaseProgram::do_mirror |
bool ML2DBaseProgram::do_norm |
MultidimArray<double> ML2DBaseProgram::docfiledata |
MultidimArray for mpi passing of docfiledata
std::vector<Matrix2D<double> > ML2DBaseProgram::F |
int ML2DBaseProgram::factor_nref |
bool ML2DBaseProgram::fix_fractions |
bool ML2DBaseProgram::fix_sigma_noise |
bool ML2DBaseProgram::fix_sigma_offset |
FileName ML2DBaseProgram::fn_img |
std::vector<std::vector<double> > ML2DBaseProgram::imgs_offsets |
std::vector<double> ML2DBaseProgram::imgs_oldphi |
std::vector<int> ML2DBaseProgram::imgs_optrefno |
std::vector<double> ML2DBaseProgram::imgs_scale |
std::vector< Image<double> > ML2DBaseProgram::Iold |
MetaDataDb ML2DBaseProgram::MDimg |
MetaDataDb ML2DBaseProgram::MDlog |
MetaDataDb ML2DBaseProgram::MDref |
MultidimArray<double> ML2DBaseProgram::Mr2 |
size_t ML2DBaseProgram::myFirstImg |
int ML2DBaseProgram::Niter |
size_t ML2DBaseProgram::nr_flip |
size_t ML2DBaseProgram::nr_images_global |
size_t ML2DBaseProgram::nr_images_local |
size_t ML2DBaseProgram::nr_nomirror_flips |
size_t ML2DBaseProgram::nr_psi |
String ML2DBaseProgram::outRefsMd |
MultidimArray<double> ML2DBaseProgram::P_phi |
double ML2DBaseProgram::psi_max |
double ML2DBaseProgram::psi_step |
bool ML2DBaseProgram::referenceExclusive |
int ML2DBaseProgram::refs_per_class |
double ML2DBaseProgram::search_rot |
MultidimArray<double> ML2DBaseProgram::spectral_signal |
double ML2DBaseProgram::trymindiff_factor |
std::vector<Matrix1D<double> > ML2DBaseProgram::Vtrans |
bool ML2DBaseProgram::zero_offsets |