Xmipp
v3.23.11-Nereus
|
#include <ctf_estimate_from_psd_fast.h>
Public Member Functions | |
ProgCTFEstimateFromPSDFast () | |
void | readBasicParams (XmippProgram *program) |
Read parameters. More... | |
void | readParams () |
Read parameters. More... | |
void | defineParams () |
Define Parameters. More... | |
void | produceSideInfo () |
Produce side information. More... | |
void | run () |
void | assignCTFfromParameters_fast (double *p, CTFDescription1D &ctf1Dmodel, int ia, int l) |
void | assignParametersFromCTF_fast (const CTFDescription1D &ctfmodel, double *p, int ia, int l) |
void | center_optimization_focus_fast (bool adjust_th, double margin) |
void | generateModelSoFar_fast (MultidimArray< double > &I, bool apply_log) |
void | compute_central_region_fast (double &w1, double &w2, double ang) |
void | saveIntermediateResults_fast (const FileName &fn_root, bool generate_profiles) |
double | CTF_fitness_object_fast (double *p) |
void | estimate_background_sqrt_parameters_fast () |
void | estimate_background_gauss_parameters_fast () |
void | estimate_background_gauss_parameters2_fast () |
void | estimate_envelope_parameters_fast () |
void | showFirstDefoci_fast () |
void | estimate_defoci_fast () |
Public Member Functions inherited from ProgCTFBasicParams | |
ProgCTFBasicParams () | |
void | readBasicParams (XmippProgram *program) |
Read parameters. More... | |
void | show () |
Show parameters. More... | |
void | produceSideInfo () |
Produce side information. More... | |
void | generate_model_halfplane (int Ydim, int Xdim, MultidimArray< double > &model) |
void | generate_model_quadrant (int Ydim, int Xdim, MultidimArray< double > &model) |
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 () |
Static Public Member Functions | |
static void | defineBasicParams (XmippProgram *program) |
Define basic parameters. More... | |
Static Public Member Functions inherited from ProgCTFBasicParams | |
static void | defineBasicParams (XmippProgram *program) |
Define basic parameters. More... | |
Public Attributes | |
CTFDescription1D | initial_ctfmodel |
CTFDescription1D | current_ctfmodel |
CTFDescription1D | ctfmodel_defoci |
CTFDescription | initial_ctfmodel2D |
Public Attributes inherited from ProgCTFBasicParams | |
FileName | fn_psd |
CTF filename. More... | |
double | downsampleFactor |
Downsample performed. More... | |
Image< double > | ctftomodel |
CTF amplitude to model. More... | |
Image< double > | enhanced_ctftomodel |
CTF amplitude to model. More... | |
Image< double > | enhanced_ctftomodel_fullsize |
CTF amplitude to model. More... | |
bool | show_optimization |
Show convergence values. More... | |
bool | selfEstimation |
int | ctfmodelSize |
X dimension of particle projections (-1=the same as the psd) More... | |
bool | bootstrap |
Bootstrap estimation. More... | |
bool | refineAmplitudeContrast |
Refine amplitude contrast. More... | |
bool | fastDefocusEstimate |
Fast defocus estimate. More... | |
bool | noDefocusEstimate |
No defocus estimate. More... | |
double | lambdaPhase |
Regularization factor for the phase direction and unwrapping estimates (used in Zernike estimate) More... | |
int | sizeWindowPhase |
Size of the average window used during phase direction and unwrapping estimates (used in Zernike estimate) More... | |
double | min_freq |
Minimum frequency to adjust. More... | |
double | max_freq |
Maximum frequency to adjust. More... | |
double | Tm |
Sampling rate. More... | |
double | defocus_range |
Defocus range. More... | |
double | f1 |
Enhancement filter low freq. More... | |
double | f2 |
Enhancement filter high freq. More... | |
double | enhanced_weight |
Weight of the enhanced image. More... | |
Matrix1D< double > | adjust |
Set of parameters for the complete adjustment of the CTF. More... | |
int | modelSimplification |
Model simplification. More... | |
MultidimArray< double > | x_contfreq |
Frequencies in axes. More... | |
MultidimArray< double > | y_contfreq |
MultidimArray< double > | w_contfreq |
MultidimArray< double > | x_digfreq |
MultidimArray< double > | y_digfreq |
MultidimArray< double > | w_digfreq |
MultidimArray< double > | psd_exp_radial |
PSD data. More... | |
MultidimArray< double > | psd_exp_enhanced_radial |
MultidimArray< double > | psd_exp_enhanced_radial_2 |
MultidimArray< double > | psd_exp_enhanced_radial_derivative |
MultidimArray< double > | psd_theo_radial_derivative |
MultidimArray< double > | psd_exp_radial_derivative |
MultidimArray< double > | psd_theo_radial |
MultidimArray< double > | w_digfreq_r_iN |
MultidimArray< double > | w_digfreq_r |
MultidimArray< std::complex< double > > | psd_fft |
std::vector< double > | amplitud |
MultidimArray< double > | mask |
Masks. More... | |
MultidimArray< double > | mask_between_zeroes |
MultidimArray< double > | w_count |
double | value_th |
double | min_freq_psd |
double | max_freq_psd |
double | max_gauss_freq |
int | show_inf |
int | action |
double | corr13 |
bool | penalize |
int | evaluation_reduction |
double | heavy_penalization |
double | current_penalty |
MultidimArray< double > * | f |
Matrix1D< double > * | adjust_params |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
Additional Inherited Members | |
Static Public Attributes inherited from ProgCTFBasicParams | |
static constexpr double | penalty = 32.0 |
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 |
Adjust CTF parameters.
Definition at line 37 of file ctf_estimate_from_psd_fast.h.
|
inline |
Definition at line 44 of file ctf_estimate_from_psd_fast.h.
void ProgCTFEstimateFromPSDFast::assignCTFfromParameters_fast | ( | double * | p, |
CTFDescription1D & | ctf1Dmodel, | ||
int | ia, | ||
int | l | ||
) |
Definition at line 76 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::assignParametersFromCTF_fast | ( | const CTFDescription1D & | ctfmodel, |
double * | p, | ||
int | ia, | ||
int | l | ||
) |
Definition at line 114 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::center_optimization_focus_fast | ( | bool | adjust_th, |
double | margin = 1 |
||
) |
Definition at line 637 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::compute_central_region_fast | ( | double & | w1, |
double & | w2, | ||
double | ang | ||
) |
double ProgCTFEstimateFromPSDFast::CTF_fitness_object_fast | ( | double * | p | ) |
CTF fitness
Definition at line 288 of file ctf_estimate_from_psd_fast.cpp.
|
static |
Define basic parameters.
Definition at line 175 of file ctf_estimate_from_psd_fast.cpp.
|
virtual |
Define Parameters.
Reimplemented from ProgCTFBasicParams.
Definition at line 180 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::estimate_background_gauss_parameters2_fast | ( | ) |
Definition at line 1262 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::estimate_background_gauss_parameters_fast | ( | ) |
Definition at line 786 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::estimate_background_sqrt_parameters_fast | ( | ) |
Definition at line 672 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::estimate_defoci_fast | ( | ) |
Definition at line 1075 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::estimate_envelope_parameters_fast | ( | ) |
Definition at line 996 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::generateModelSoFar_fast | ( | MultidimArray< double > & | I, |
bool | apply_log = false |
||
) |
Definition at line 203 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::produceSideInfo | ( | ) |
Produce side information.
Definition at line 187 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::readBasicParams | ( | XmippProgram * | program | ) |
Read parameters.
Definition at line 155 of file ctf_estimate_from_psd_fast.cpp.
|
virtual |
Read parameters.
Reimplemented from ProgCTFBasicParams.
Definition at line 168 of file ctf_estimate_from_psd_fast.cpp.
|
virtual |
Run
Reimplemented from XmippProgram.
Definition at line 1692 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::saveIntermediateResults_fast | ( | const FileName & | fn_root, |
bool | generate_profiles = true |
||
) |
Definition at line 247 of file ctf_estimate_from_psd_fast.cpp.
void ProgCTFEstimateFromPSDFast::showFirstDefoci_fast | ( | ) |
CTFDescription1D ProgCTFEstimateFromPSDFast::ctfmodel_defoci |
Definition at line 41 of file ctf_estimate_from_psd_fast.h.
CTFDescription1D ProgCTFEstimateFromPSDFast::current_ctfmodel |
Definition at line 41 of file ctf_estimate_from_psd_fast.h.
CTFDescription1D ProgCTFEstimateFromPSDFast::initial_ctfmodel |
Definition at line 41 of file ctf_estimate_from_psd_fast.h.
CTFDescription ProgCTFEstimateFromPSDFast::initial_ctfmodel2D |
Definition at line 42 of file ctf_estimate_from_psd_fast.h.