Xmipp
v3.23.11-Nereus
|
#include <ml_refine3d.h>
Public Member Functions | |
ProgMLRefine3D (bool fourier=false) | |
~ProgMLRefine3D () | |
void | defineParams () |
Define the parameters accepted. More... | |
void | readParams () |
Read additional arguments for 3D-process from command line. More... | |
void | show () |
Show. More... | |
void | createSampling () |
Create sampling for projecting volumes. More... | |
virtual void | produceSideInfo () |
virtual void | produceSideInfo2 () |
void | run () |
Provides implementation of the run function. More... | |
virtual void | createEmptyFiles (int type) |
virtual void | projectVolumes (MetaData &mdProj) |
virtual void | makeNoiseImages () |
(For mpi-version only:) calculate noise averages and write to disc More... | |
virtual ProgReconsBase * | createReconsProgram (FileName &input, FileName &output) |
Create the program to be used for reconstruction of the volumes. More... | |
virtual void | reconstructVolumes () |
reconstruction by (weighted ART) or Fourier interpolation More... | |
virtual void | calculate3DSSNR (MultidimArray< double > &spectral_signal) |
Calculate 3D SSNR according to Unser ea. (2005) More... | |
virtual void | copyVolumes () |
void | updateVolumesMetadata () |
virtual void | postProcessVolumes () |
Masking, filtering etc. of the volume. More... | |
virtual bool | checkConvergence () |
Convergency check. More... | |
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 () |
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 () |
Public Attributes | |
FileName | fn_sel |
FileName | fn_ref |
FileName | fn_sym |
FileName | fn_root |
FileName | fn_solv |
FileName | fn_iter |
FileName | fn_symmask |
MetaDataVec | mdVol |
size_t | Nvols |
size_t | iter |
size_t | istart |
size_t | Niter |
double | eps |
double | angular |
int | recons_type |
double | lowpass |
double | tilt_range0 |
double | tilt_rangeF |
double | wlsart_lambda |
double | wlsart_kappa |
int | wlsart_Niter |
bool | wlsart_no_start |
double | threshold_solvent |
bool | do_prob_solvent |
bool | do_deblob_solvent |
int | dilate_solvent |
bool | fourier_mode |
bool | skip_reconstruction |
bool | do_perturb |
Sampling | mysampling |
int | symmetry |
int | sym_order |
int | nr_projections |
size_t | rank |
size_t | size |
StringVector | reconsOutFnBase |
StringVector | reconsMdFn |
ML2DBaseProgram * | ml2d |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
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 |
Refine3d parameters.
Definition at line 50 of file ml_refine3d.h.
ProgMLRefine3D::ProgMLRefine3D | ( | bool | fourier = false | ) |
Empty constructor, call the constructor of ProgML2D with the ML3D flag set to true
Definition at line 58 of file ml_refine3d.cpp.
ProgMLRefine3D::~ProgMLRefine3D | ( | ) |
|
virtual |
Calculate 3D SSNR according to Unser ea. (2005)
Definition at line 790 of file ml_refine3d.cpp.
|
virtual |
Convergency check.
Definition at line 1180 of file ml_refine3d.cpp.
|
virtual |
Copy reference volumes before start processing
Definition at line 951 of file ml_refine3d.cpp.
|
virtual |
Create an empty file to avoid read/write conflicts when running in parallel it will be used for projections and volumes stacks
Definition at line 498 of file ml_refine3d.cpp.
|
virtual |
Create the program to be used for reconstruction of the volumes.
Definition at line 640 of file ml_refine3d.cpp.
void ProgMLRefine3D::createSampling | ( | ) |
Create sampling for projecting volumes.
Definition at line 340 of file ml_refine3d.cpp.
|
virtual |
Define the parameters accepted.
Reimplemented from XmippProgram.
Definition at line 76 of file ml_refine3d.cpp.
|
virtual |
(For mpi-version only:) calculate noise averages and write to disc
Definition at line 613 of file ml_refine3d.cpp.
|
virtual |
Masking, filtering etc. of the volume.
Definition at line 992 of file ml_refine3d.cpp.
|
virtual |
Definition at line 357 of file ml_refine3d.cpp.
|
virtual |
Definition at line 376 of file ml_refine3d.cpp.
|
virtual |
Project the reference volumes in evenly sampled directions fill the metadata mdProj with the projections data
Definition at line 520 of file ml_refine3d.cpp.
|
virtual |
Read additional arguments for 3D-process from command line.
FIXME: restart has to be re-thought
Reimplemented from XmippProgram.
Definition at line 115 of file ml_refine3d.cpp.
|
virtual |
reconstruction by (weighted ART) or Fourier interpolation
Definition at line 736 of file ml_refine3d.cpp.
|
virtual |
Provides implementation of the run function.
Reimplemented from XmippProgram.
Definition at line 386 of file ml_refine3d.cpp.
void ProgMLRefine3D::show | ( | ) |
void ProgMLRefine3D::updateVolumesMetadata | ( | ) |
Update the metadata with reference volumes
Definition at line 971 of file ml_refine3d.cpp.
double ProgMLRefine3D::angular |
Definition at line 64 of file ml_refine3d.h.
int ProgMLRefine3D::dilate_solvent |
Definition at line 84 of file ml_refine3d.h.
bool ProgMLRefine3D::do_deblob_solvent |
Definition at line 82 of file ml_refine3d.h.
bool ProgMLRefine3D::do_perturb |
Definition at line 90 of file ml_refine3d.h.
bool ProgMLRefine3D::do_prob_solvent |
Definition at line 79 of file ml_refine3d.h.
double ProgMLRefine3D::eps |
Definition at line 62 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_iter |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_ref |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_root |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_sel |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_solv |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_sym |
Definition at line 54 of file ml_refine3d.h.
FileName ProgMLRefine3D::fn_symmask |
Definition at line 54 of file ml_refine3d.h.
bool ProgMLRefine3D::fourier_mode |
Definition at line 86 of file ml_refine3d.h.
size_t ProgMLRefine3D::istart |
Definition at line 60 of file ml_refine3d.h.
size_t ProgMLRefine3D::iter |
Definition at line 60 of file ml_refine3d.h.
double ProgMLRefine3D::lowpass |
Definition at line 68 of file ml_refine3d.h.
MetaDataVec ProgMLRefine3D::mdVol |
Definition at line 56 of file ml_refine3d.h.
ML2DBaseProgram* ProgMLRefine3D::ml2d |
Definition at line 105 of file ml_refine3d.h.
Sampling ProgMLRefine3D::mysampling |
Definition at line 92 of file ml_refine3d.h.
size_t ProgMLRefine3D::Niter |
Definition at line 60 of file ml_refine3d.h.
int ProgMLRefine3D::nr_projections |
Definition at line 96 of file ml_refine3d.h.
size_t ProgMLRefine3D::Nvols |
Definition at line 58 of file ml_refine3d.h.
size_t ProgMLRefine3D::rank |
Definition at line 99 of file ml_refine3d.h.
int ProgMLRefine3D::recons_type |
Definition at line 66 of file ml_refine3d.h.
StringVector ProgMLRefine3D::reconsMdFn |
Definition at line 103 of file ml_refine3d.h.
StringVector ProgMLRefine3D::reconsOutFnBase |
Definition at line 103 of file ml_refine3d.h.
size_t ProgMLRefine3D::size |
Definition at line 99 of file ml_refine3d.h.
bool ProgMLRefine3D::skip_reconstruction |
Definition at line 88 of file ml_refine3d.h.
int ProgMLRefine3D::sym_order |
Definition at line 94 of file ml_refine3d.h.
int ProgMLRefine3D::symmetry |
Definition at line 94 of file ml_refine3d.h.
double ProgMLRefine3D::threshold_solvent |
Definition at line 77 of file ml_refine3d.h.
double ProgMLRefine3D::tilt_range0 |
Definition at line 70 of file ml_refine3d.h.
double ProgMLRefine3D::tilt_rangeF |
Definition at line 70 of file ml_refine3d.h.
double ProgMLRefine3D::wlsart_kappa |
Definition at line 72 of file ml_refine3d.h.
double ProgMLRefine3D::wlsart_lambda |
Definition at line 72 of file ml_refine3d.h.
int ProgMLRefine3D::wlsart_Niter |
Definition at line 73 of file ml_refine3d.h.
bool ProgMLRefine3D::wlsart_no_start |
Definition at line 75 of file ml_refine3d.h.