EMAN2
|
CtfCWautoAverager averages the images with CTF correction with a Wiener filter. More...
#include <averager.h>
Public Member Functions | |
CtfCWautoAverager () | |
void | add_image (EMData *image) |
To add an image to the Averager. More... | |
EMData * | finish () |
Finish up the averaging and return the result. More... | |
string | get_name () const |
Get the Averager's name. More... | |
string | get_desc () const |
void | set_params (const Dict &new_params) |
Set the Averager parameters using a key/value dictionary. More... | |
Public Member Functions inherited from EMAN::Averager | |
Averager () | |
virtual | ~Averager () |
virtual void | add_image_list (const vector< EMData * > &images) |
To add multiple images to the Averager. More... | |
virtual void | mult (const float &s) |
Multiply the result image by some floating point constant This is useful when weighting the input images prior to calling add_image - a situation where it is likely you want to divide by the sum of the weights. More... | |
virtual TypeDict | get_param_types () const |
Get Averager parameter information in a dictionary. More... | |
Static Public Member Functions | |
static Averager * | NEW () |
Static Public Attributes | |
static const string | NAME = "ctfw.auto" |
Protected Attributes | |
EMData * | snrsum |
int | nimg |
Protected Attributes inherited from EMAN::Averager | |
Dict | params |
EMData * | result |
CtfCWautoAverager averages the images with CTF correction with a Wiener filter.
The Weiner filter is estimated directly from the data.
Definition at line 604 of file averager.h.
CtfCWautoAverager::CtfCWautoAverager | ( | ) |
Definition at line 1012 of file averager.cpp.
Referenced by NEW().
|
virtual |
To add an image to the Averager.
This image will be averaged in this function.
image | The image to be averaged. |
Reimplemented from EMAN::Averager.
Definition at line 1019 of file averager.cpp.
References EMAN::Ctf::bfactor, EMAN::Ctf::compute_2d_complex(), copy(), EMAN::Ctf::CTF_AMP, EMAN::Ctf::CTF_SNR, get_name(), EMAN::EMUtil::is_same_size(), LOGERR, nimg, EMAN::Averager::result, and snrsum.
|
virtual |
Finish up the averaging and return the result.
Implements EMAN::Averager.
Definition at line 1092 of file averager.cpp.
References EMAN::EMData::calc_radial_dist(), nimg, EMAN::Averager::result, and snrsum.
|
inlinevirtual |
Implements EMAN::Averager.
Definition at line 617 of file averager.h.
|
inlinevirtual |
Get the Averager's name.
Each Averager is identified by a unique name.
Implements EMAN::Averager.
Definition at line 612 of file averager.h.
References NAME.
Referenced by add_image().
|
inlinestatic |
|
inlinevirtual |
Set the Averager parameters using a key/value dictionary.
new_params | A dictionary containing the new parameters. |
Reimplemented from EMAN::Averager.
Definition at line 627 of file averager.h.
References EMAN::Averager::params.
|
static |
Definition at line 633 of file averager.h.
Referenced by get_name().
|
protected |
Definition at line 637 of file averager.h.
Referenced by add_image(), and finish().
|
protected |
Definition at line 636 of file averager.h.
Referenced by add_image(), and finish().