Xmipp
v3.23.11-Nereus
|
CTFGroup program class. More...
#include <ctf_group.h>
Public Member Functions | |
void | readParams () |
void | defineParams () |
void | show () |
void | usage () |
bool | isIsotropic (CTFDescription &ctf) |
void | produceSideInfo () |
void | autoRun () |
void | manualRun () |
void | simpleRun () |
void | writeOutputToDisc () |
void | run () |
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_ctfdat |
Filenames. More... | |
FileName | fn_root |
FileName | fn_split |
FileName | format |
double | max_error |
Maximum allowed error. More... | |
double | resol_error |
Resolution for maximum allowed error (in dig. freq.) More... | |
int | iresol_error |
Resolution for maximum allowed error (in pixels) More... | |
double | pixel_size |
bool | phase_flipped |
Flag for phase-flipped data. More... | |
size_t | dim |
size_t | xpaddim |
size_t | ypaddim |
size_t | paddim |
size_t | ctfxpaddim |
double | pad |
bool | do_auto |
bool | do_discard_anisotropy |
bool | do_wiener |
Flag for calculating Wiener filters. More... | |
double | wiener_constant |
Wiener filter constant. More... | |
bool | replaceSampling |
Replace ctf.param file sampling rate by this. More... | |
double | samplingRate |
New ctf sampling rate. More... | |
int | simpleBins |
Simple algorithm. More... | |
bool | do1Dctf |
double | memory |
Available memory, set mmap to on if more memory is needed. More... | |
bool | mmapOn |
do not use ram but map data to a file More... | |
MultidimArray< double > | Mwien |
Matrix with denominator term of Wiener filter. More... | |
MultidimArray< double > | diff |
auxiliary matrices to speed up process More... | |
MultidimArray< int > | dd |
MultidimArray< double > | mics_ctf2d |
std::vector< double > | mics_defocus |
MetaDataDb | ImagesMD |
MetaDataDb | sortedCtfMD |
std::vector< std::vector< int > > | pointer_group2mic |
std::vector< MDLabel > | groupbyLabels |
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 |
CTFGroup program class.
Definition at line 40 of file ctf_group.h.
void ProgCtfGroup::autoRun | ( | ) |
Produce the CTF groups automatically
Definition at line 420 of file ctf_group.cpp.
|
virtual |
Define parameters.
Reimplemented from XmippProgram.
Definition at line 116 of file ctf_group.cpp.
bool ProgCtfGroup::isIsotropic | ( | CTFDescription & | ctf | ) |
Check anisotropy of a single CTF
Definition at line 392 of file ctf_group.cpp.
void ProgCtfGroup::manualRun | ( | ) |
Split based onto defocus values given in a docfile
Definition at line 487 of file ctf_group.cpp.
void ProgCtfGroup::produceSideInfo | ( | ) |
Produce side information.
Definition at line 153 of file ctf_group.cpp.
|
virtual |
Read parameters from command line.
Reimplemented from XmippProgram.
Definition at line 34 of file ctf_group.cpp.
|
virtual |
void ProgCtfGroup::show | ( | ) |
Show.
Definition at line 67 of file ctf_group.cpp.
void ProgCtfGroup::simpleRun | ( | ) |
Split based on bins
Definition at line 721 of file ctf_group.cpp.
void ProgCtfGroup::usage | ( | ) |
Usage.
void ProgCtfGroup::writeOutputToDisc | ( | ) |
Write output
Definition at line 538 of file ctf_group.cpp.
size_t ProgCtfGroup::ctfxpaddim |
Definition at line 63 of file ctf_group.h.
MultidimArray<int> ProgCtfGroup::dd |
Definition at line 104 of file ctf_group.h.
MultidimArray<double> ProgCtfGroup::diff |
auxiliary matrices to speed up process
Definition at line 103 of file ctf_group.h.
size_t ProgCtfGroup::dim |
Definition at line 63 of file ctf_group.h.
bool ProgCtfGroup::do1Dctf |
Compute 1D CTF using avg(defocusU + defocusV)/2 as defocus. This approach speed up the computation and is recommended for very large data sets
Definition at line 91 of file ctf_group.h.
bool ProgCtfGroup::do_auto |
Definition at line 69 of file ctf_group.h.
bool ProgCtfGroup::do_discard_anisotropy |
Definition at line 72 of file ctf_group.h.
bool ProgCtfGroup::do_wiener |
Flag for calculating Wiener filters.
Definition at line 75 of file ctf_group.h.
FileName ProgCtfGroup::fn_ctfdat |
Filenames.
Definition at line 45 of file ctf_group.h.
FileName ProgCtfGroup::fn_root |
Definition at line 45 of file ctf_group.h.
FileName ProgCtfGroup::fn_split |
Definition at line 45 of file ctf_group.h.
FileName ProgCtfGroup::format |
Definition at line 45 of file ctf_group.h.
std::vector<MDLabel> ProgCtfGroup::groupbyLabels |
Definition at line 129 of file ctf_group.h.
MetaDataDb ProgCtfGroup::ImagesMD |
Definition at line 114 of file ctf_group.h.
int ProgCtfGroup::iresol_error |
Resolution for maximum allowed error (in pixels)
Definition at line 54 of file ctf_group.h.
double ProgCtfGroup::max_error |
Maximum allowed error.
Definition at line 48 of file ctf_group.h.
double ProgCtfGroup::memory |
Available memory, set mmap to on if more memory is needed.
Definition at line 94 of file ctf_group.h.
MultidimArray<double> ProgCtfGroup::mics_ctf2d |
Definition at line 108 of file ctf_group.h.
std::vector<double> ProgCtfGroup::mics_defocus |
Definition at line 111 of file ctf_group.h.
bool ProgCtfGroup::mmapOn |
do not use ram but map data to a file
Definition at line 97 of file ctf_group.h.
MultidimArray<double> ProgCtfGroup::Mwien |
Matrix with denominator term of Wiener filter.
Definition at line 100 of file ctf_group.h.
double ProgCtfGroup::pad |
Definition at line 66 of file ctf_group.h.
size_t ProgCtfGroup::paddim |
Definition at line 63 of file ctf_group.h.
bool ProgCtfGroup::phase_flipped |
Flag for phase-flipped data.
Definition at line 60 of file ctf_group.h.
double ProgCtfGroup::pixel_size |
Definition at line 57 of file ctf_group.h.
std::vector< std::vector <int> > ProgCtfGroup::pointer_group2mic |
Definition at line 126 of file ctf_group.h.
bool ProgCtfGroup::replaceSampling |
Replace ctf.param file sampling rate by this.
Definition at line 81 of file ctf_group.h.
double ProgCtfGroup::resol_error |
Resolution for maximum allowed error (in dig. freq.)
Definition at line 51 of file ctf_group.h.
double ProgCtfGroup::samplingRate |
New ctf sampling rate.
Definition at line 84 of file ctf_group.h.
int ProgCtfGroup::simpleBins |
Simple algorithm.
Definition at line 87 of file ctf_group.h.
MetaDataDb ProgCtfGroup::sortedCtfMD |
Definition at line 117 of file ctf_group.h.
double ProgCtfGroup::wiener_constant |
Wiener filter constant.
Definition at line 78 of file ctf_group.h.
size_t ProgCtfGroup::xpaddim |
Definition at line 63 of file ctf_group.h.
size_t ProgCtfGroup::ypaddim |
Definition at line 63 of file ctf_group.h.