#include <averager.h>
Inheritance diagram for EMAN::CtfCWAverager:
Public Member Functions | |
string | get_name () const |
Get the Averager's name. | |
string | get_desc () const |
void | set_params (const Dict &new_params) |
Set the Averager parameters using a key/value dictionary. | |
Static Public Member Functions | |
static Averager * | NEW () |
Static Public Attributes | |
static const string | NAME = "ctfcw" |
Definition at line 436 of file averager.h.
string EMAN::CtfCWAverager::get_desc | ( | ) | const [inline, virtual] |
Implements EMAN::Averager.
Definition at line 444 of file averager.h.
00445 { 00446 return "CTF amplitude corrected average, including SNR weight and Wiener filtration"; 00447 }
string EMAN::CtfCWAverager::get_name | ( | ) | const [inline, virtual] |
Get the Averager's name.
Each Averager is identified by a unique name.
Implements EMAN::Averager.
Definition at line 439 of file averager.h.
References NAME.
00440 { 00441 return NAME; 00442 }
static Averager* EMAN::CtfCWAverager::NEW | ( | ) | [inline, static] |
void EMAN::CtfCWAverager::set_params | ( | const Dict & | new_params | ) | [inline, virtual] |
Set the Averager parameters using a key/value dictionary.
new_params | A dictionary containing the new parameters. |
Reimplemented from EMAN::Averager.
Definition at line 454 of file averager.h.
References EMAN::CtfAverager::need_snr, and EMAN::Averager::params.
00455 { 00456 params = new_params; 00457 if ((int) params["need_snr"]) { 00458 need_snr = true; 00459 } 00460 else { 00461 need_snr = false; 00462 } 00463 }
const string CtfCWAverager::NAME = "ctfcw" [static] |