#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 391 of file averager.h.
string EMAN::CtfCWAverager::get_desc | ( | ) | const [inline, virtual] |
Implements EMAN::Averager.
Definition at line 399 of file averager.h.
00400 { 00401 return "CTF amplitude corrected average, including SNR weight and Wiener filtration"; 00402 }
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 394 of file averager.h.
References NAME.
00395 { 00396 return NAME; 00397 }
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 409 of file averager.h.
References EMAN::CtfAverager::need_snr, and EMAN::Averager::params.
00410 { 00411 params = new_params; 00412 if ((int) params["need_snr"]) { 00413 need_snr = true; 00414 } 00415 else { 00416 need_snr = false; 00417 } 00418 }
const string CtfCWAverager::NAME = "ctfcw" [static] |