#include <averager.h>
Inheritance diagram for EMAN::WeightingAverager:
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. | |
TypeDict | get_param_types () const |
Get Averager parameter information in a dictionary. | |
Static Public Member Functions | |
static Averager * | NEW () |
Static Public Attributes | |
static const string | NAME = "snr_weight" |
curves | ||
sf |
Definition at line 375 of file averager.h.
string EMAN::WeightingAverager::get_desc | ( | ) | const [inline, virtual] |
string EMAN::WeightingAverager::get_name | ( | ) | const [inline, virtual] |
Get the Averager's name.
Each Averager is identified by a unique name.
Implements EMAN::Averager.
Definition at line 378 of file averager.h.
References NAME.
00379 { 00380 return NAME; 00381 }
TypeDict EMAN::WeightingAverager::get_param_types | ( | ) | const [inline, virtual] |
Get Averager parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Reimplemented from EMAN::Averager.
Definition at line 400 of file averager.h.
References EMAN::EMObject::EMDATA, EMAN::TypeDict::put(), and EMAN::EMObject::XYDATA.
00401 { 00402 TypeDict d; 00403 d.put("curves", EMObject::EMDATA); 00404 d.put("sf", EMObject::XYDATA); 00405 return d; 00406 }
static Averager* EMAN::WeightingAverager::NEW | ( | ) | [inline, static] |
void EMAN::WeightingAverager::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 393 of file averager.h.
References EMAN::CtfAverager::curves, EMAN::Averager::params, and EMAN::CtfAverager::sf.
00394 { 00395 params = new_params; 00396 curves = params["curves"]; 00397 sf = params["sf"]; 00398 }
const string WeightingAverager::NAME = "snr_weight" [static] |